Commit 0a96e52c authored by Mike McCormack's avatar Mike McCormack Committed by Alexandre Julliard

When registering a dll, search the dll's directory for dll

dependencies too.
parent c6c404dc
......@@ -82,7 +82,7 @@ VOID *LoadProc(char* strDll, char* procName, HMODULE* DllHandle)
{
VOID* (*proc)(void);
*DllHandle = LoadLibrary(strDll);
*DllHandle = LoadLibraryEx(strDll, 0, LOAD_WITH_ALTERED_SEARCH_PATH);
if(!*DllHandle)
{
if(!Silent)
......
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