do not run WOW64 helper in 32-bit

This commit is contained in:
Paddy Xu
2017-06-18 14:58:27 +03:00
parent c9f0f48d6a
commit 0bfcfedb17
3 changed files with 7 additions and 0 deletions

View File

@@ -25,7 +25,9 @@
EXPORT void Init()
{
#ifdef WIN64
WoW64HookHelper::Launch();
#endif
DOpus::PrepareMessageWindow();
}

View File

@@ -33,6 +33,10 @@ bool WoW64HookHelper::CheckStatus()
bool WoW64HookHelper::Launch()
{
#ifndef WIN64
return true;
#endif
if (CheckStatus())
return true;

View File

@@ -77,6 +77,7 @@
<Optimization>Disabled</Optimization>
<SDLCheck>true</SDLCheck>
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
<PreprocessorDefinitions>WIN64;%(PreprocessorDefinitions)</PreprocessorDefinitions>
</ClCompile>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">