博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
VS2008下编译MFC报平台版本低解决办法
阅读量:4045 次
发布时间:2019-05-24

本文共 368 字,大约阅读时间需要 1 分钟。

VS2008下编译MFC报平台版本低错误

fatal error C1189: #error :  Your version of the Windows SDK is earlier than 6.0. Try setting the 'WINVER' and '_WIN32_WINNT' definitions in your project to less than 0x0600.
解决方法:

在stdafx.h头部中,#pragma once下添加:

#ifndef WINVER                  #define WINVER 0x0501          #endif#ifndef _WIN32_WINNT          #define _WIN32_WINNT 0x0501    #endif

转载地址:http://hdwci.baihongyu.com/

你可能感兴趣的文章
/etc/resolv.conf
查看>>
container_of()传入结构体中的成员,返回该结构体的首地址
查看>>
linux sfdisk partition
查看>>
ipconfig,ifconfig,iwconfig
查看>>
opensuse12.2 PL2303 minicom
查看>>
网络视频服务器移植
查看>>
Encoding Schemes
查看>>
移植QT
查看>>
如此调用
查看>>
计算机的发展史
查看>>
带WiringPi库的交叉编译如何处理一
查看>>
带WiringPi库的交叉笔译如何处理二之软链接概念
查看>>
Spring事务的七种传播行为
查看>>
ES写入找不到主节点问题排查
查看>>
Java8 HashMap集合解析
查看>>
欢迎使用CSDN-markdown编辑器
查看>>
Android计算器实现源码分析
查看>>
Android系统构架
查看>>
Android 跨应用程序访问窗口知识点总结
查看>>
各种排序算法的分析及java实现
查看>>