- re-enabled Event-driven mode for Windows 7 x64 platform if application runs as WOW64 process
This commit is contained in:
dmitrykos 2010-05-18 17:23:56 +00:00
commit 9bb962b93b

View file

@ -873,11 +873,10 @@ static UINT32 GetWindowsVersion()
// ------------------------------------------------------------------------------------------
static BOOL UseWOW64Workaround()
{
// note: Excluded OS version check as it is reported that event-driven mode
// fails under Windows 7 as well. Now let's assume any WOW64 process
// requires a wokaround.
// note: WOW64 bug is common to Windows Vista x64, thus we fall back to safe Poll-driven
// method. Windows 7 x64 seems has WOW64 bug fixed.
return (IsWow64()/* && (GetWindowsVersion() & WINDOWS_VISTA_SERVER2008)*/);
return (IsWow64() && (GetWindowsVersion() & WINDOWS_VISTA_SERVER2008));
}
// ------------------------------------------------------------------------------------------