From edf2ac2358c5551f17bfe9e7a58c2ae23b0a1a3f Mon Sep 17 00:00:00 2001 From: Goraf Date: Sat, 6 Feb 2016 18:09:52 +0000 Subject: ContextHelp: richedit20.dll -> msftedit git-svn-id: http://svn.miranda-ng.org/main/trunk@16228 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/ContextHelp/src/helpdlg.cpp | 2 -- plugins/ContextHelp/src/main.cpp | 6 +++--- plugins/ContextHelp/src/stdafx.h | 1 + plugins/ContextHelp/src/streaminout.cpp | 2 -- 4 files changed, 4 insertions(+), 7 deletions(-) (limited to 'plugins') diff --git a/plugins/ContextHelp/src/helpdlg.cpp b/plugins/ContextHelp/src/helpdlg.cpp index 7a6dee18f4..38d2b5d058 100644 --- a/plugins/ContextHelp/src/helpdlg.cpp +++ b/plugins/ContextHelp/src/helpdlg.cpp @@ -19,8 +19,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #include "stdafx.h" -#include - extern HINSTANCE hInst; HWND hwndHelpDlg; diff --git a/plugins/ContextHelp/src/main.cpp b/plugins/ContextHelp/src/main.cpp index ed2ba99d7f..b72edee83f 100644 --- a/plugins/ContextHelp/src/main.cpp +++ b/plugins/ContextHelp/src/main.cpp @@ -94,10 +94,10 @@ extern "C" __declspec(dllexport) int Load(void) if (!InitCommonControlsEx(&icc)) return 1; - if (LoadLibrary(_T("riched20.dll")) == NULL) /* richedit v2.0 (Win98/NT4), v3.0 (WinXP/2000/Me+) */ + if (LoadLibrary(_T("Msftedit.dll")) == NULL) if (IDYES != MessageBoxEx(NULL, - TranslateT("The Help Plugin can not be loaded, riched20.dll is missing. If you are using WINE please make sure you have riched20.dll installed.\n\nPress 'Yes' to continue loading Miranda NG."), - TranslateT("Help plugin"), MB_YESNO | MB_ICONWARNING | MB_SETFOREGROUND | MB_TOPMOST | MB_TASKMODAL, LANGIDFROMLCID(Langpack_GetDefaultLocale()))) + TranslateT("The Context help plugin can not be loaded, Msftedit.dll is missing. If you are using WINE, please make sure you have Msftedit.dll installed. Press 'Yes' to continue loading Miranda."), + TranslateT("Context help plugin"), MB_YESNO | MB_ICONWARNING | MB_SETFOREGROUND | MB_TOPMOST | MB_TASKMODAL, LANGIDFROMLCID(Langpack_GetDefaultLocale()))) return 1; if (InstallDialogBoxHook()) diff --git a/plugins/ContextHelp/src/stdafx.h b/plugins/ContextHelp/src/stdafx.h index 20cac3503d..98cea224c5 100644 --- a/plugins/ContextHelp/src/stdafx.h +++ b/plugins/ContextHelp/src/stdafx.h @@ -23,6 +23,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #include #include #include +#include #include //#include diff --git a/plugins/ContextHelp/src/streaminout.cpp b/plugins/ContextHelp/src/streaminout.cpp index 460bc655c2..4d390c3d0a 100644 --- a/plugins/ContextHelp/src/streaminout.cpp +++ b/plugins/ContextHelp/src/streaminout.cpp @@ -19,8 +19,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #include "stdafx.h" -#include - struct EditStreamData { PBYTE pbBuff; int cbBuff; -- cgit v1.2.3