mirror of
https://github.com/QL-Win/QuickLook.git
synced 2025-09-10 17:29:08 +00:00
do not run WOW64 helper in 32-bit
This commit is contained in:
@@ -25,7 +25,9 @@
|
|||||||
|
|
||||||
EXPORT void Init()
|
EXPORT void Init()
|
||||||
{
|
{
|
||||||
|
#ifdef WIN64
|
||||||
WoW64HookHelper::Launch();
|
WoW64HookHelper::Launch();
|
||||||
|
#endif
|
||||||
DOpus::PrepareMessageWindow();
|
DOpus::PrepareMessageWindow();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -33,6 +33,10 @@ bool WoW64HookHelper::CheckStatus()
|
|||||||
|
|
||||||
bool WoW64HookHelper::Launch()
|
bool WoW64HookHelper::Launch()
|
||||||
{
|
{
|
||||||
|
#ifndef WIN64
|
||||||
|
return true;
|
||||||
|
#endif
|
||||||
|
|
||||||
if (CheckStatus())
|
if (CheckStatus())
|
||||||
return true;
|
return true;
|
||||||
|
|
||||||
|
@@ -77,6 +77,7 @@
|
|||||||
<Optimization>Disabled</Optimization>
|
<Optimization>Disabled</Optimization>
|
||||||
<SDLCheck>true</SDLCheck>
|
<SDLCheck>true</SDLCheck>
|
||||||
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
|
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
|
||||||
|
<PreprocessorDefinitions>WIN64;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
</ItemDefinitionGroup>
|
</ItemDefinitionGroup>
|
||||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||||
|
Reference in New Issue
Block a user