简体   繁体   中英

Which SDK do I need to ensure Windows 7 compatibility in Visual Studio C++ 2017

I am building Desktop apps with Visual Studio C++ 2017 on Windows 10. Compatibility with Windows 7 and 8 is required.

May I use the latest Windows 10 SDK for this, or do I have to use the Windows 8.1 SDK?

You can use the Windows 10 SDK to write Windows desktop applications compatible with Windows 7 and up. The minimum target version is controlled through preprocessor symbols ( WINVER and _WIN32_WINNT ). Set them to 0x0601 to target Windows 7 and up.

See Using the Windows Headers for details.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM