Chinaunix首页 | 论坛 | 博客

=.=

  • 博客访问: 135692
  • 博文数量: 50
  • 博客积分: 3000
  • 博客等级: 中校
  • 技术积分: 550
  • 用 户 组: 普通用户
  • 注册时间: 2009-09-25 17:22
文章分类

全部博文(50)

文章存档

2010年(7)

2009年(43)

我的朋友

分类: WINDOWS

2009-09-27 23:45:16

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头部中添加

#ifndef WINVER                  // Specifies that the minimum required platform is Windows Vista.
#define WINVER 0x0500          // Win2k
#endif

#ifndef _WIN32_WINNT            // Specifies that the minimum required platform is Windows Vista.
#define _WIN32_WINNT 0x0500    // Win2k
#endif
阅读(1133) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~