Developing applications for Windows XP in Visual Studio 2017 + Windows 10?

There is a need for my program to have full support for Windows XP.

How do I implement this support in Visual Studio 2017, which is installed in a Windows 10 environment?

Author: MSDN.WhiteKnight, 2018-09-23

1 answers

  1. Install the toolset for building under WinXP.

Run the Visual Studio installer (via the "Edit" item in "Programs and Components"), on the "Components" page, check the box Windows XP support for C++, click "Install".

  1. Change the project properties

On the General tab, in the Platform toolset field, select Visual Studio 2017-Windows XP (v141_xp)

  1. Don't use APIs that are not available in Windows XP (for example, DWM API, Multimedia Device API, Speech Recognition API, IMAPI, Network List Manager, etc.)

Source: Configuring Programs for Windows XP

 1
Author: MSDN.WhiteKnight, 2018-09-26 11:22:36