89: #error: MFC does not support WINVER less than 0x0501. Please change the definition of WINV
·
在win10上使用vs2017编译之前的程序报错,解决方法如下:
参考https://blog.csdn.net/ygzhong000/article/details/41750841
请在stdafx.h头文件中添加以下行。
#define WINVER 0x0602
#define _WIN32_WINNT 0x0602

更多推荐


所有评论(0)