Skip to content
Snippets Groups Projects
Commit c3d30faf authored by Juergen Schmied's avatar Juergen Schmied Committed by Alexandre Julliard
Browse files

Let CoCreateInstance use LOAD_WITH_ALTERED_SEARCHPATH.

parent 235776bd
No related branches found
No related tags found
No related merge requests found
......@@ -1675,7 +1675,7 @@ HINSTANCE WINAPI CoLoadLibrary(LPOLESTR16 lpszLibName, BOOL bAutoFree)
TRACE("CoLoadLibrary(%p, %d\n", lpszLibName, bAutoFree);
hLibrary = LoadLibraryA(lpszLibName);
hLibrary = LoadLibraryExA(lpszLibName, 0, LOAD_WITH_ALTERED_SEARCH_PATH);
if (!bAutoFree)
return hLibrary;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment