This project has moved. For the latest updates, please go here.
2

Closed

GetModuleHandleExW is not present on Windows 2000

description

StubUtils.cpp contains the following function:
 
HMODULE AttachToMAPIDll(const WCHAR *wzMapiDll)
{
HMODULE hinstPrivateMAPI = NULL;
GetModuleHandleExW(0UL, wzMapiDll, &hinstPrivateMAPI);
return hinstPrivateMAPI;
}
 
In order to make this stub library work on Windows 2000, the following edit is required:
 
HMODULE AttachToMAPIDll(const WCHAR *wzMapiDll)
{
return GetModuleHandleW(wzMapiDll);
}
Closed Aug 10, 2011 at 6:31 PM by sgriffin

comments

sgriffin wrote Aug 10, 2011 at 6:30 PM

I'm taking a fix for this over in mfcmapi, but I'll leave it to developers incorporating the stub to decide if they want to take this particular fix.

wrote Aug 10, 2011 at 6:31 PM

wrote Feb 13, 2013 at 11:25 PM

wrote May 16, 2013 at 6:55 AM