diff options
-rw-r--r-- | splashscreen/src/headers.h | 3 | ||||
-rw-r--r-- | splashscreen/src/main.cpp | 2 |
2 files changed, 5 insertions, 0 deletions
diff --git a/splashscreen/src/headers.h b/splashscreen/src/headers.h index a8cafb5..d541462 100644 --- a/splashscreen/src/headers.h +++ b/splashscreen/src/headers.h @@ -25,6 +25,9 @@ #ifndef HEADERS_H
#define HEADERS_H
+#define MIRANDA_VER 0x0900
+#define MIRANDA_CUSTOM_LP
+
#define _WIN32_WINNT 0x0500
#define WINVER 0x0400
#define AC_SRC_ALPHA 0x01
diff --git a/splashscreen/src/main.cpp b/splashscreen/src/main.cpp index dda03f6..45f7fae 100644 --- a/splashscreen/src/main.cpp +++ b/splashscreen/src/main.cpp @@ -28,6 +28,7 @@ HINSTANCE hInst = 0;
PLUGINLINK *pluginLink;
struct MM_INTERFACE mmi;
+int hLangpack;
static HMODULE hUserDll = NULL;
static HMODULE hAdvaimg = NULL;
@@ -405,6 +406,7 @@ extern "C" __declspec(dllexport) PLUGININFOEX* MirandaPluginInfoEx(DWORD miranda extern "C" int __declspec(dllexport) Load(PLUGINLINK *link)
{
pluginLink = link;
+ mir_getLP(&pluginInfo);
mir_getMMI(&mmi);
hModulesLoaded = HookEvent(ME_SYSTEM_MODULESLOADED, ModulesLoaded);
|