* init.cc (dll_entry): Call IsWow64Process with GetCurrentProcess
as process handle since hMainProc isn't initialized here.
This commit is contained in:
parent
357d430185
commit
91049bd9cd
|
@ -1,3 +1,8 @@
|
|||
2005-09-27 Corinna Vinschen <corinna@vinschen.de>
|
||||
|
||||
* init.cc (dll_entry): Call IsWow64Process with GetCurrentProcess
|
||||
as process handle since hMainProc isn't initialized here.
|
||||
|
||||
2005-09-27 Corinna Vinschen <corinna@vinschen.de>
|
||||
|
||||
* fhandler_floppy.cc (fhandler_dev_floppy::get_drive_info): Always
|
||||
|
|
|
@ -157,7 +157,7 @@ dll_entry (HANDLE h, DWORD reason, void *static_load)
|
|||
spawned by a genuine 64 bit process. If so, respawn. */
|
||||
if (&is_wow64_proc >= (PBOOL) 0x400000
|
||||
&& &is_wow64_proc <= (PBOOL) 0x10000000
|
||||
&& IsWow64Process (hMainProc, &is_wow64_proc)
|
||||
&& IsWow64Process (GetCurrentProcess (), &is_wow64_proc)
|
||||
&& is_wow64_proc)
|
||||
respawn_wow64_process ();
|
||||
|
||||
|
|
Loading…
Reference in New Issue