VS2017报错:
fatal error C1189: #error: MFC does not support WINVER less than 0x0501. Please change the definition of WINVER in your project properties or precompiled header。
解决方案:
请在stdafx.h头文件中添加以下二行。
#define WINVER 0x0602
#define _WIN32_WINNT 0x0602
例如:
该博文为原创文章,未经博主同意不得转载,如同意转载请注明博文出处
本文章博客地址:https://cplusplus.blog.youkuaiyun.com/article/details/109717113