* ldh.cc (WinMain): Change DONT_RESOLVE_DLL_REFERENCES to
LOAD_WITH_ALTERED_SEARCH_PATH.
This commit is contained in:
parent
9bf2a8a84a
commit
552bc28f46
@ -1,3 +1,8 @@
|
|||||||
|
2010-08-28 Corinna Vinschen <corinna@vinschen.de>
|
||||||
|
|
||||||
|
* ldh.cc (WinMain): Change DONT_RESOLVE_DLL_REFERENCES to
|
||||||
|
LOAD_WITH_ALTERED_SEARCH_PATH.
|
||||||
|
|
||||||
2010-08-28 Corinna Vinschen <corinna@vinschen.de>
|
2010-08-28 Corinna Vinschen <corinna@vinschen.de>
|
||||||
|
|
||||||
* loadlib.h: New header implementing safe LoadLibrary calls.
|
* loadlib.h: New header implementing safe LoadLibrary calls.
|
||||||
|
@ -11,7 +11,7 @@ WinMain(HINSTANCE, HINSTANCE, LPSTR, int)
|
|||||||
cmd += 4;
|
cmd += 4;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
if (!*cmd || !LoadLibraryExW (cmd, NULL, DONT_RESOLVE_DLL_REFERENCES))
|
if (!*cmd || !LoadLibraryExW (cmd, NULL, LOAD_WITH_ALTERED_SEARCH_PATH ))
|
||||||
ExitProcess (0x0100);
|
ExitProcess (0x0100);
|
||||||
ExitProcess (0x0000);
|
ExitProcess (0x0000);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user