Skip to content

Commit 323dd36

Browse files
committed
Fix NAPS2.WIA build for XP
1 parent cd85f30 commit 323dd36

File tree

5 files changed

+8
-4
lines changed

5 files changed

+8
-4
lines changed

NAPS2.WIA/NAPS2.WIA.vcxproj

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,26 +29,26 @@
2929
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
3030
<ConfigurationType>DynamicLibrary</ConfigurationType>
3131
<UseDebugLibraries>true</UseDebugLibraries>
32-
<PlatformToolset>v141</PlatformToolset>
32+
<PlatformToolset>v140_xp</PlatformToolset>
3333
<CharacterSet>Unicode</CharacterSet>
3434
</PropertyGroup>
3535
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
3636
<ConfigurationType>DynamicLibrary</ConfigurationType>
3737
<UseDebugLibraries>true</UseDebugLibraries>
38-
<PlatformToolset>v141</PlatformToolset>
38+
<PlatformToolset>v140_xp</PlatformToolset>
3939
<CharacterSet>Unicode</CharacterSet>
4040
</PropertyGroup>
4141
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
4242
<ConfigurationType>DynamicLibrary</ConfigurationType>
4343
<UseDebugLibraries>false</UseDebugLibraries>
44-
<PlatformToolset>v141</PlatformToolset>
44+
<PlatformToolset>v140_xp</PlatformToolset>
4545
<WholeProgramOptimization>true</WholeProgramOptimization>
4646
<CharacterSet>Unicode</CharacterSet>
4747
</PropertyGroup>
4848
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
4949
<ConfigurationType>DynamicLibrary</ConfigurationType>
5050
<UseDebugLibraries>false</UseDebugLibraries>
51-
<PlatformToolset>v141</PlatformToolset>
51+
<PlatformToolset>v140_xp</PlatformToolset>
5252
<WholeProgramOptimization>true</WholeProgramOptimization>
5353
<CharacterSet>Unicode</CharacterSet>
5454
</PropertyGroup>
@@ -98,6 +98,7 @@
9898
<SDLCheck>true</SDLCheck>
9999
<PreprocessorDefinitions>WIN32;_DEBUG;NAPS2WIA_EXPORTS;_WINDOWS;_USRDLL;%(PreprocessorDefinitions)</PreprocessorDefinitions>
100100
<ConformanceMode>true</ConformanceMode>
101+
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
101102
</ClCompile>
102103
<Link>
103104
<SubSystem>Windows</SubSystem>
@@ -116,6 +117,7 @@
116117
<SDLCheck>true</SDLCheck>
117118
<PreprocessorDefinitions>WIN32;_DEBUG;NAPS2WIA_EXPORTS;_WINDOWS;_USRDLL;%(PreprocessorDefinitions)</PreprocessorDefinitions>
118119
<ConformanceMode>true</ConformanceMode>
120+
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
119121
</ClCompile>
120122
<Link>
121123
<SubSystem>Windows</SubSystem>
@@ -136,6 +138,7 @@
136138
<SDLCheck>true</SDLCheck>
137139
<PreprocessorDefinitions>WIN32;NDEBUG;NAPS2WIA_EXPORTS;_WINDOWS;_USRDLL;%(PreprocessorDefinitions)</PreprocessorDefinitions>
138140
<ConformanceMode>true</ConformanceMode>
141+
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
139142
</ClCompile>
140143
<Link>
141144
<SubSystem>Windows</SubSystem>
@@ -158,6 +161,7 @@
158161
<SDLCheck>true</SDLCheck>
159162
<PreprocessorDefinitions>WIN32;NDEBUG;NAPS2WIA_EXPORTS;_WINDOWS;_USRDLL;%(PreprocessorDefinitions)</PreprocessorDefinitions>
160163
<ConformanceMode>true</ConformanceMode>
164+
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
161165
</ClCompile>
162166
<Link>
163167
<SubSystem>Windows</SubSystem>

NAPS2/Setup/lib/64/NAPS2.WIA.dll

83.5 KB
Binary file not shown.

NAPS2/Setup/lib/NAPS2.WIA.dll

68 KB
Binary file not shown.

NAPS2/Setup/lib/dbg/64/NAPS2.WIA.dll

933 KB
Binary file not shown.

NAPS2/Setup/lib/dbg/NAPS2.WIA.dll

741 KB
Binary file not shown.

0 commit comments

Comments
 (0)