Commit 59165212 authored by Alexandre Julliard's avatar Alexandre Julliard

wineboot: Restart 64-bit version from the system32 directory.

parent ba713a8c
......@@ -1624,7 +1624,8 @@ int __cdecl main( int argc, char *argv[] )
memset( &si, 0, sizeof(si) );
si.cb = sizeof(si);
GetModuleFileNameW( 0, filename, MAX_PATH );
GetSystemDirectoryW( filename, MAX_PATH );
wcscat( filename, L"\\wineboot.exe" );
Wow64DisableWow64FsRedirection( &redir );
if (CreateProcessW( filename, GetCommandLineW(), NULL, NULL, FALSE, 0, NULL, NULL, &si, &pi ))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment