mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-15 07:40:21 +00:00
wow64: Load dependencies of 64-bit modules only from the 64-bit system directory.
This commit is contained in:
parent
c302b28729
commit
483085ad3f
|
@ -492,7 +492,7 @@ static HMODULE load_64bit_module( const WCHAR *name )
|
|||
|
||||
swprintf( path, MAX_PATH, L"%s\\%s", dir, name );
|
||||
RtlInitUnicodeString( &str, path );
|
||||
if ((status = LdrLoadDll( NULL, 0, &str, &module )))
|
||||
if ((status = LdrLoadDll( dir, 0, &str, &module )))
|
||||
{
|
||||
ERR( "failed to load dll %lx\n", status );
|
||||
NtTerminateProcess( GetCurrentProcess(), status );
|
||||
|
|
Loading…
Reference in a new issue