Skip to content

Commit b1a3623

Browse files
committed
allow current directory for dlls when checking dll depencencies
1 parent d5532f0 commit b1a3623

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

heob.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5771,6 +5771,8 @@ static int checkExecutable( appData *ad,textColor *tcXml,
57715771
"<error>\n"
57725772
" <kind>SyscallParam</kind>\n" );
57735773

5774+
SetDllDirectoryW( NULL );
5775+
57745776
HMODULE exeMod =
57755777
LoadLibraryExW( exePath,NULL,DONT_RESOLVE_DLL_REFERENCES );
57765778
if( !exeMod )

0 commit comments

Comments
 (0)