From cbe3cb21f5bca61a03bbd4ae811ee906e09b3f4f Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sat, 13 Jun 2015 16:55:17 +0000 Subject: - miranda32.exe now does nothing bug extends PATH to %miranda_root%\libs and loads mir_app.dll; - everything that was in miranda32.exe (including resources) moved to mir_app.dll; - exports from mir_app.dll now available for using directly, without perversions; - src/stdplug.h deleted; git-svn-id: http://svn.miranda-ng.org/main/trunk@14143 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/Clist_modern/src/init.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'plugins/Clist_modern/src/init.cpp') diff --git a/plugins/Clist_modern/src/init.cpp b/plugins/Clist_modern/src/init.cpp index 870ac56431..a676957105 100644 --- a/plugins/Clist_modern/src/init.cpp +++ b/plugins/Clist_modern/src/init.cpp @@ -34,7 +34,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #define CHECKRES(sub) if (sub != S_OK) return S_FALSE; -HINSTANCE g_hInst = 0; +HINSTANCE g_hInst = 0, g_hMirApp = 0; CLIST_INTERFACE *pcli = NULL; CLIST_INTERFACE corecli = { 0 }; CLUIDATA g_CluiData = { 0 }; @@ -80,6 +80,7 @@ extern "C" __declspec(dllexport) int CListInitialise() mir_getTMI(&tmi); g_dwMainThreadID = GetCurrentThreadId(); + g_hMirApp = GetModuleHandleA("mir_app.dll"); CHECKRES(PreLoadContactListModule()); CHECKRES(SubclassClistInterface()); -- cgit v1.2.3