Hello.
This article is for a particular source code. This source code's compatibility does not vary with / cease with / depend on any
Visual-Studio compiler's version.
I need to support e.g. Windows 10 and Windows 7. It is a good idea to
support other versions, e.g. Windows Vista.
I build on Windows 10.
New versions of Microsoft Visual Studio do not support old versions of Windows.
I plan to choose some (probably old) version of Visual Studio or MS
SDK to build this source code, such that it will be executable on
Windows 7.
I want this executable to be fast. I want this executable to be
compatible. I do not aim to give it code bloat. Are there any
recommendations for particular Visual-Studio or MS-SDK versions to
avoid or use?
A good choice for Windows 7 and Windows 10 and Windows Vista is
supposedly . . . Visual Studio 2015.
Cf. HTTPS://learn.MicroSoft.com/En-US/VisualStudio/releases/2015/VS2015-compatibility-VS
Good choices for Windows 7 and Windows Vista (and Windows 10?) are
supposedly . . . Visual Studio 2013; and Visual Studio 2010.
Cf. HTTPS://learn.MicroSoft.com/En-US/VisualStudio/releases/2013/VS2013-compatibility-VS
and HTTPS://learn.MicroSoft.com/En-US/VisualStudio/releases/2010/VS2010-SP1-VS
Compatible versions of Windows for Visual Studio 2012 are not made
clear by HTTPS://learn.MicroSoft.com/En-US/VisualStudio/releases/2012/VS2012-sysrequirements
A new version of Visual Studio demands a huge amount of memory.
These versions are not clearly good choices for all variants of
Windows 10 . . . Visual Studio 2017; Visual Studio 2019; Visual
Studio 2022; and Visual Studio 2026.
Cf. HTTPS://learn.MicroSoft.com/En-US/VisualStudio/releases/2017/VS2017-system-requirements-VS
and HTTPS://learn.MicroSoft.com/En-US/VisualStudio/releases/2019/system-requirements
and HTTPS://learn.MicroSoft.com/En-US/VisualStudio/releases/2022/system-requirements
and HTTPS://learn.MicroSoft.com/En-US/VisualStudio/releases/2026/VS-system-requirements
Thanks.
(S. HTTP://Gloucester.Insomnia247.NL/ fuer Kontaktdaten!)
You can reduce your memory requirements just by using the command line
tools.ÿ I tend to never use the /visual studio/ proper, and just run
the compiler, CL.EXE, in a CMD window.ÿ I use /x64 Native Tools Command Prompt for VS 2022/.ÿ There will be several command prompts installed,
and you can run each one separately.
W dniu 25.07.2026 oÿ18:38, Johann 'Myrkraverk' Oskarsson pisze:
You can reduce your memory requirements just by using the command line
tools.ÿ I tend to never use the /visual studio/ proper, and just run
the compiler, CL.EXE, in a CMD window.ÿ I use /x64 Native Tools Command
Prompt for VS 2022/.ÿ There will be several command prompts installed,
and you can run each one separately.
I am just wonder: Do you use cl.exe in plain makefiles?
Or maybe: Do you use CMake?
If not: What script lang do you use to avoid constantly typing cl.exe commands by hand?
What I mean was: What scripting lang is useful for you for compilations under Windows?
You can reduce your memory requirements just by using the command line
tools.ÿ I tend to never use the /visual studio/ proper, and just run
the compiler, CL.EXE, in a CMD window.
Good luck, and happy C coding!
On 26/07/2026 1:34 AM, ??Jacek Marcin Jaworski?? wrote:
W dniu 25.07.2026 oÿ18:38, Johann 'Myrkraverk' Oskarsson pisze:
You can reduce your memory requirements just by using the command line
tools.ÿ I tend to never use the /visual studio/ proper, and just run
the compiler, CL.EXE, in a CMD window.ÿ I use /x64 Native Tools Command
Prompt for VS 2022/.ÿ There will be several command prompts installed,
and you can run each one separately.
I am just wonder: Do you use cl.exe in plain makefiles?
Or maybe: Do you use CMake?
If not: What script lang do you use to avoid constantly typing cl.exe
commands by hand?
What I mean was: What scripting lang is useful for you for
compilations under Windows?
My own projects are usually quite simple, in Windows, with relatively
small number of source files, so I just use /nmake/ most of the time.
I find CMake too complicated for simple projects, and not worth the
effort.
For ready made .sln files, I can use msbuild.exe.ÿ For an example
project, you can look at Magiblot's Turbo Vision, at
ÿ https://github.com/magiblot/tvision/
but it looks at first glance the .sln is created by CMake.ÿ It's been
a number of years since I did my last git pull, so I'm not sure how
I got the .sln file.
I may sometimes resort to batch files, and I never, ever use powershell.
For a future project, I may test drive Lake, a build system in Lua.
ÿ https://github.com/stevedonovan/Lake
And that's a good reminder, because now I'm thinking of using the
Turbo Vision GUI for a new project.ÿ It'll be slightly annoying to
mix with otherwise C code, but CL.EXE will happily link it, so there's
no problem.
On 7/25/2026 9:38 AM, Johann 'Myrkraverk' Oskarsson wrote:
[...]
You can reduce your memory requirements just by using the command line
tools.ÿ I tend to never use the /visual studio/ proper, and just run
the compiler, CL.EXE, in a CMD window.
Fwiw, remember MSVC 6? It was way better at C than C++.
For ready made .sln files, I can use msbuild.exe. For an example
project, you can look at Magiblot's Turbo Vision, at
https://github.com/magiblot/tvision/
but it looks at first glance the .sln is created by CMake. It's been
a number of years since I did my last git pull, so I'm not sure how
I got the .sln file.
Also not really used CMake or similar, as it seems like too much
added hassle, and is in some ways too high-level and less obvious
how to use it with custom tools or toolchains.
Hello.
This article is for a particular source code. This source code's compatibility does not vary with / cease with / depend on any
Visual-Studio compiler's version.
I need to support e.g. Windows 10 and Windows 7. It is a good idea to
support other versions, e.g. Windows Vista.
I build on Windows 10.
New versions of Microsoft Visual Studio do not support old versions of Windows.
I plan to choose some (probably old) version of Visual Studio or MS
SDK to build this source code, such that it will be executable on
Windows 7.
I want this executable to be fast. I want this executable to be
compatible. I do not aim to give it code bloat. Are there any
recommendations for particular Visual-Studio or MS-SDK versions to
avoid or use?
A good choice for Windows 7 and Windows 10 and Windows Vista is
supposedly . . . Visual Studio 2015.
Cf. HTTPS://learn.MicroSoft.com/En-US/VisualStudio/releases/2015/VS2015-compatibility-VS
Good choices for Windows 7 and Windows Vista (and Windows 10?) are
supposedly . . . Visual Studio 2013; and Visual Studio 2010.
Cf. HTTPS://learn.MicroSoft.com/En-US/VisualStudio/releases/2013/VS2013-compatibility-VS
and HTTPS://learn.MicroSoft.com/En-US/VisualStudio/releases/2010/VS2010-SP1-VS
Compatible versions of Windows for Visual Studio 2012 are not made
clear by HTTPS://learn.MicroSoft.com/En-US/VisualStudio/releases/2012/VS2012-sysrequirements
A new version of Visual Studio demands a huge amount of memory.
These versions are not clearly good choices for all variants of
Windows 10 . . . Visual Studio 2017; Visual Studio 2019; Visual
Studio 2022; and Visual Studio 2026.
Cf. HTTPS://learn.MicroSoft.com/En-US/VisualStudio/releases/2017/VS2017-system-requirements-VS
and HTTPS://learn.MicroSoft.com/En-US/VisualStudio/releases/2019/system-requirements
and HTTPS://learn.MicroSoft.com/En-US/VisualStudio/releases/2022/system-requirements
and HTTPS://learn.MicroSoft.com/En-US/VisualStudio/releases/2026/VS-system-requirements
Thanks.
(S. HTTP://Gloucester.Insomnia247.NL/ fuer Kontaktdaten!)
These versions are not clearly good choices for all variants of ||[. . .] |
Windows 10 . . . Visual Studio 2017; [. . .]; Visual |
Studio 2022; and Visual Studio 2026. |
|
Lynn McGuire <LynnMcGuire5@GMail.com> wrote: |-------------------------------------------------------------------|
|"[. . .] |
These versions are not clearly good choices for all variants of ||[. . .] |
Windows 10 . . . Visual Studio 2017; [. . .]; Visual |
Studio 2022; and Visual Studio 2026. |
|
|I use Visual Studio 2015. It supports Windows 11 to Windows XP. I|
|build on Windows 11. |
| |
|Lynn" | |-------------------------------------------------------------------|
Dear Mister McGuire:
Thanks for this feedback which may help me to choose Visual Studio
2015.
A different person emailed me. He recommended for Windows 10: Visual
Studio 2017 or Visual Studio 2022 (without criticizing Visual Studio
2015). For Windows 10, he recommended to avoid the most recent Visual
Studio.
However, despite what that emailer wrote, I note
"Visual Studio 2017 will install and run on the following operating
systems:
Windows 11 supported OS versions: Home, Pro, Pro Education, Pro for Workstations, Enterprise, and Education
Windows Server 2025: Standard and Datacenter
Windows Server 2022: Standard and Datacenter
Windows Server 2019: Standard and Datacenter
Windows Server 2016: Standard and Datacenter
Each supported operating system has its own lifecycle independent of
the Visual Studio support lifecycle. The Visual Studio team applies
each of those lifecycle schedules to inform adding and removing
support for operating system versions. An operating system may reach
end of support before the Visual Studio release, at which point Visual
Studio will no longer consider that operating system version
supported. If an operating system is in the Extended Security Updates
(ESU) phase then it is supported only with ESU patches installed.
[. . .]
Windows 10 Enterprise LTSC edition and Windows 10 S are not supported
for development. You may use Visual Studio 2017 to build apps that run
on Windows 10 LTSC and Windows 10 S.
[. . .]"
says HTTPS://learn.MicroSoft.com/En-US/VisualStudio/releases/2017/VS2017-system-requirements-VS
I do not know what variant of Windows 10 I have (e.g. Windows 10
Enterprise LTSC edition or Windows 10 S or something else).
HTTPS://learn.MicroSoft.com/En-US/VisualStudio/releases/2022/system-requirements
warns similarly about many variants of Windows 10.
(S. HTTP://Gloucester.Insomnia247.NL/ fuer Kontaktdaten!)
However, despite what that emailer wrote, I note ||[. . .] |
"Visual Studio 2017 will install and run on the following operating |
systems: |
|
Windows 11 supported OS versions: Home, Pro, Pro Education, Pro for |
Workstations, Enterprise, and Education |
Windows Server 2025: Standard and Datacenter |
Windows Server 2022: Standard and Datacenter |
Windows Server 2019: Standard and Datacenter |
Windows Server 2016: Standard and Datacenter |
Each supported operating system has its own lifecycle independent of |
the Visual Studio support lifecycle. The Visual Studio team applies |
each of those lifecycle schedules to inform adding and removing |
support for operating system versions. An operating system may reach |
end of support before the Visual Studio release, at which point Visual |
Studio will no longer consider that operating system version |
supported. If an operating system is in the Extended Security Updates |
(ESU) phase then it is supported only with ESU patches installed. |
[. . .] |
Windows 10 Enterprise LTSC edition and Windows 10 S are not supported |
for development. You may use Visual Studio 2017 to build apps that run |
on Windows 10 LTSC and Windows 10 S. |
[. . .]" |
says |
HTTPS://learn.MicroSoft.com/En-US/VisualStudio/releases/2017/VS2017-system-requirements-VS |
|
I do not know what variant of Windows 10 I have (e.g. Windows 10 |
Enterprise LTSC edition or Windows 10 S or something else). |
|
However, despite what that emailer wrote, I note
"Visual Studio 2017 will install and run on the following operating
systems:
Windows 10 Enterprise LTSC edition and Windows 10 S are not supported
for development. You may use Visual Studio 2017 to build apps that run
on Windows 10 LTSC and Windows 10 S.
[. . .]"
says HTTPS://learn.MicroSoft.com/En-US/VisualStudio/releases/2017/VS2017-system-requirements-VS
I do not know what variant of Windows 10 I have (e.g. Windows 10
Enterprise LTSC edition or Windows 10 S or something else).
I had built this source code for a 64-bit, non-MegaScoria operating
system. I would install MS SDK or Visual Studio to build a 32-bit-x86
Windows copy. If a potential user would like a copy for a different
processor or for a different bit configuration or a different
operating system, then I could consider building so if such a user
would not know how to build.
| Sysop: | Tetrazocine |
|---|---|
| Location: | Melbourne, VIC, Australia |
| Users: | 12 |
| Nodes: | 8 (0 / 8) |
| Uptime: | 03:02:33 |
| Calls: | 220 |
| Files: | 21,513 |
| Messages: | 82,368 |