mirror of
https://github.com/reactos/wine.git
synced 2024-11-25 04:39:45 +00:00
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);
|
VOID* (*proc)(void);
|
||||||
|
|
||||||
*DllHandle = LoadLibrary(strDll);
|
*DllHandle = LoadLibraryEx(strDll, 0, LOAD_WITH_ALTERED_SEARCH_PATH);
|
||||||
if(!*DllHandle)
|
if(!*DllHandle)
|
||||||
{
|
{
|
||||||
if(!Silent)
|
if(!Silent)
|
||||||
|
Loading…
Reference in New Issue
Block a user