From 19cc1ba999d00610ea35d2650e6d2e38cc475694 Mon Sep 17 00:00:00 2001 From: Gluzskiy Alexandr Date: Sat, 4 Dec 2010 16:44:11 +0200 Subject: modified: init.cpp modified: options.cpp modified: replacer.sln new file: replacer.vcxproj --- init.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'init.cpp') diff --git a/init.cpp b/init.cpp index 6a104ce..8af2c1d 100644 --- a/init.cpp +++ b/init.cpp @@ -105,8 +105,8 @@ static int OnModulesLoaded(WPARAM wParam,LPARAM lParam) pd.type=PROTOTYPE_ENCRYPTION; CallService(MS_PROTO_REGISTERMODULE,0,(LPARAM)&pd); - CreateProtoServiceFunction(szReplacerModuleName,PSS_MESSAGE,SendMsgSvc); - CreateProtoServiceFunction(szReplacerModuleName,PSS_MESSAGE"W",SendMsgSvc); + CreateProtoServiceFunction(szReplacerModuleName,PSS_MESSAGE,(MIRANDASERVICE)SendMsgSvc); + CreateProtoServiceFunction(szReplacerModuleName,PSS_MESSAGE"W",(MIRANDASERVICE)SendMsgSvc); for (HANDLE hContact = (HANDLE)CallService(MS_DB_CONTACT_FINDFIRST, 0, 0); hContact; hContact = (HANDLE)CallService(MS_DB_CONTACT_FINDNEXT, (WPARAM)hContact, 0)) if (!CallService(MS_PROTO_ISPROTOONCONTACT, (WPARAM)hContact, (LPARAM)szReplacerModuleName)) -- cgit v1.2.3