Skip to content

Commit f8bfd81

Browse files
committed
Bump minimum WinAPI target to Vista
1 parent 55d5d22 commit f8bfd81

4 files changed

Lines changed: 6 additions & 15 deletions

File tree

.circleci/config.yml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -43,14 +43,6 @@ jobs:
4343
refreshenv
4444
python -m pip install cmake~=3.30.0
4545
cmake --version
46-
- run:
47-
name: Install the v141_xp VC toolset
48-
command: |
49-
cd "C:\Program Files (x86)\Microsoft Visual Studio\Installer"
50-
.\vs_installer.exe modify --installPath "C:\Program Files\Microsoft Visual Studio\2022\Community" `
51-
--add Microsoft.VisualStudio.Component.VC.v141.x86.x64 `
52-
--add Microsoft.VisualStudio.Component.WinXP `
53-
--downloadThenInstall --quiet
5446
- run:
5547
name: Build and Pack
5648
command: make_release.cmd

.vscode/settings.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77
"NOMINMAX",
88
"_CRT_SECURE_NO_WARNINGS",
99
"_USING_V110_SDK71_",
10-
"_WIN32_WINNT=_WIN32_WINNT_WINXP",
11-
"NTDDI_VERSION=NTDDI_WINXPSP3"
10+
"_WIN32_WINNT=_WIN32_WINNT_VISTA",
11+
"NTDDI_VERSION=NTDDI_VISTASP1"
1212
],
1313
"C_Cpp.autoAddFileAssociations": false,
1414
"C_Cpp.codeAnalysis.runAutomatically": false

src/Forms/resource.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010

1111
#include <windows.h>
1212

13-
#define HTMLTAG_VERSION L"1.5.1.4\0"
14-
#define HTMLTAG_VERSION_WORDS 1, 5, 1, 4
13+
#define HTMLTAG_VERSION L"1.5.1.5\0"
14+
#define HTMLTAG_VERSION_WORDS 1, 5, 1, 5
1515

1616
#define ID_ABOUT_HTML_TAG_DLG 0x1000
1717
#define ID_UNICODE_FMT_CONFIG_DLG 0x2000

src/prj/CMakeLists.txt

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -123,12 +123,11 @@ if (VC_BUILD)
123123
if (NOT "${PLATFORM_ID}" MATCHES "arm")
124124
set_target_properties(${PROJECT_NAME} PROPERTIES
125125
MSVC_RUNTIME_LIBRARY "MultiThreaded$<$<CONFIG:Debug>:Debug>"
126-
VS_PLATFORM_TOOLSET "v141_xp"
127126
)
128127
target_compile_definitions (${PROJECT_NAME} PRIVATE
129128
_USING_V110_SDK71_
130-
_WIN32_WINNT=_WIN32_WINNT_WINXP
131-
NTDDI_VERSION=NTDDI_WINXPSP3
129+
_WIN32_WINNT=_WIN32_WINNT_VISTA
130+
NTDDI_VERSION=NTDDI_VISTASP1
132131
)
133132
endif ()
134133

0 commit comments

Comments
 (0)