小编Kra*_*mig的帖子

安装Visual Studio 2010后出现错误C1189

我在驱动器崩溃后安装了VS2010,之前我有VS2005,一切都很好.

现在编译一个以前很好的C++应用程序我看到了一些我无法弄清楚的错误.

错误1错误C1189:#error:此文件要求_WIN32_WINNT #defined至少为0x0403.建议值为0x0501或更高.C:\ Program Files\Microsoft Visual Studio 10.0\VC\atlmfc\include\atlcore.h 35 1 BIOXGINA

#ifndef __ATLCORE_H__
#define __ATLCORE_H__

#pragma once

#ifdef _ATL_ALL_WARNINGS
#pragma warning( push )
#endif

#pragma warning(disable: 4786) // identifier was truncated in the debug information
#pragma warning(disable: 4127) // constant expression

#include <atldef.h>
#include <windows.h>
#include <ole2.h>

#include <limits.h>
#include <tchar.h>
#include <mbstring.h>

#include <atlchecked.h>
#include <atlsimpcoll.h>

34.  #if _WIN32_WINNT < 0x0403
35.  #error This file requires _WIN32_WINNT to be #defined at least to 0x0403. Value 0x0501 or higher …
Run Code Online (Sandbox Code Playgroud)

c++ visual-studio-2010

18
推荐指数
2
解决办法
3万
查看次数

标签 统计

c++ ×1

visual-studio-2010 ×1