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

dependencies too.
This commit is contained in:
Mike McCormack 2003-10-07 22:49:44 +00:00 committed by Alexandre Julliard
parent c6c404dcd6
commit 0a96e52ca2

View File

@ -82,7 +82,7 @@ VOID *LoadProc(char* strDll, char* procName, HMODULE* DllHandle)
{ {
VOID* (*proc)(void); VOID* (*proc)(void);
*DllHandle = LoadLibrary(strDll); *DllHandle = LoadLibraryEx(strDll, 0, LOAD_WITH_ALTERED_SEARCH_PATH);
if(!*DllHandle) if(!*DllHandle)
{ {
if(!Silent) if(!Silent)