gpt4 book ai didi

visual-c++ - 从 Visual Studio 2015 企业更新 1 面向 Windows XP

转载 作者:行者123 更新时间:2023-12-04 06:44:33 25 4
gpt4 key购买 nike

我想知道我们是否可以使用可以在 Windows xp 上运行的 Visual Studio 2015 构建项目/二进制文件?如果它支持那么我们如何构建?

最佳答案

Configuring C++ 11 Programs for Windows XP

The Windows XP platform toolset that's included in Visual Studio is a version of the Windows 7 SDK that was included in Visual Studio 2010, but it uses the current C++ compiler. It also configures project properties to appropriate default values—for example, the specification of a compatible linker for down-level targeting. Only Windows desktop apps that are created by using the Windows XP platform toolset run on Windows XP and Windows Server 2003, but those apps can also run on more recent operating systems—for example, Windows Vista, Windows 7, Windows Server 2008, Windows 8, or Windows Server 2012.

To target Windows XP

  • In Solution Explorer, open the shortcut menu for your project, and then choose Properties.
  • In the Property Pages dialog box for the project, under Configuration Properties, General, set the Platform Toolset property to the desired Windows XP toolset. For example, choose Visual Studio 2012 – Windows XP (v110_xp) to create code that is binary compatible with the Microsoft Visual C++ 2012 Redistributable libraries.

关于visual-c++ - 从 Visual Studio 2015 企业更新 1 面向 Windows XP,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/34488549/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com