fatal error C1189: #error:MFC does not support WINVER less than 0x0501. Please change the definitio
生活随笔
收集整理的這篇文章主要介紹了
fatal error C1189: #error:MFC does not support WINVER less than 0x0501. Please change the definitio
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
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.csdn.net/article/details/109717113
總結
以上是生活随笔為你收集整理的fatal error C1189: #error:MFC does not support WINVER less than 0x0501. Please change the definitio的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 解决error C2760:语法错误:
- 下一篇: 信用卡卡片异常是啥意思