mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-06 12:10:00 +00:00
Let CoCreateInstance use LOAD_WITH_ALTERED_SEARCHPATH.
This commit is contained in:
parent
235776bdc3
commit
c3d30faf0c
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue