work in progress for buddylookup on windows

git-svn-id: svn+ssh://svn.savannah.nongnu.org/linphone/trunk@329 3f6dc0c8-ddfe-455d-9043-3cd528dc4637
This commit is contained in:
smorlat 2009-03-10 13:22:15 +00:00
parent 7f5cfba184
commit 0daa3fa9f1

View file

@ -288,8 +288,8 @@ int ms_load_plugins(const char *dir){
/* load library */
HINSTANCE os_handle;
UINT em;
// em = SetErrorMode (SEM_FAILCRITICALERRORS);
em = SetErrorMode (0);
em = SetErrorMode (SEM_FAILCRITICALERRORS);
snprintf(szPluginFile, sizeof(szPluginFile), "%s\\%s", szDirPath, FileData.cFileName);
os_handle = LoadLibraryEx (szPluginFile, NULL, LOAD_WITH_ALTERED_SEARCH_PATH);
if (os_handle==NULL)