When registering a dll, search the dll's directory for dll
dependencies too.
This commit is contained in:
parent
c6c404dcd6
commit
0a96e52ca2
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue