当前位置:   article > 正文

89: #error: MFC does not support WINVER less than 0x0501. Please change the definition of WINV_mfc does not support winver less than 0x0501. plea

mfc does not support winver less than 0x0501. please change the definition o

在win10上使用vs2017编译之前的程序报错,解决方法如下:

参考https://blog.csdn.net/ygzhong000/article/details/41750841

 

请在stdafx.h头文件中添加以下行。

#define WINVER 0x0602
#define _WIN32_WINNT 0x0602

 

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/正经夜光杯/article/detail/922417
推荐阅读
相关标签
  

闽ICP备14008679号