summaryrefslogtreecommitdiff
path: root/plugins/ContactsPlus/src/main.cpp
diff options
context:
space:
mode:
authorKirill Volinsky <mataes2007@gmail.com>2013-02-23 11:10:05 +0000
committerKirill Volinsky <mataes2007@gmail.com>2013-02-23 11:10:05 +0000
commit40781d33923f2d80c080cc15befc980e008b6687 (patch)
tree1db4ec124abdf1d71e4789f1677e283687ecbaa5 /plugins/ContactsPlus/src/main.cpp
parenta6af51eaf39f8db944f8505a99dd146d6f0868de (diff)
projects fixes
git-svn-id: http://svn.miranda-ng.org/main/trunk@3719 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/ContactsPlus/src/main.cpp')
-rw-r--r--plugins/ContactsPlus/src/main.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/plugins/ContactsPlus/src/main.cpp b/plugins/ContactsPlus/src/main.cpp
index a7e3855232..84c42bca68 100644
--- a/plugins/ContactsPlus/src/main.cpp
+++ b/plugins/ContactsPlus/src/main.cpp
@@ -59,6 +59,12 @@ PLUGININFOEX pluginInfo = {
{0x0324785E, 0x74CE, 0x4600, {0xB7, 0x81, 0x85, 0x17, 0x73, 0xB3, 0xEF, 0xC5}}
};
+BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
+{
+ hInst = hinstDLL;
+ return TRUE;
+}
+
static int HookDBEventAdded(WPARAM wParam, LPARAM lParam)
{
HANDLE hContact = (HANDLE)wParam;