Commit 0daa3fa9 authored by smorlat's avatar smorlat

work in progress for buddylookup on windows

git-svn-id: svn+ssh://svn.savannah.nongnu.org/linphone/trunk@329 3f6dc0c8-ddfe-455d-9043-3cd528dc4637
parent 7f5cfba1
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment