下面是报错内容:
> stdafx.cpp
1>
1> NOTE: WINVER has been defined as 0x0500 or greater which enables
1> Windows NT 5.0 and Windows 98 features. When these headers were released,
1> Windows NT 5.0 beta 1 and Windows 98 beta 2.1 were the current versions.
1>
1> For this release when WINVER is defined as 0x0500 or greater, you can only
1> build beta or test applications. To build a retail application,
1> set WINVER to 0x0400 or visit http://www.microsoft.com/msdn/sdk
1> to see if retail Windows NT 5.0 or Windows 98 headers are available.
1>
1> See the SDK release notes for more information.
1>
1>d:\microsoft visual studio 10.0\vc\atlmfc\include\afxv_w32.h(204): error C2065: “DWORD_PTR”: 未声明的标识符
1>d:\microsoft visual studio 10.0\vc\atlmfc\include\afxv_w32.h(204): error C2143: 语法错误 : 缺少“;”(在“GetWindowThreadProcessId”的前面)
1>d:\microsoft visual studio 10.0\vc\atlmfc\include\atlconv.h(91): error C2061: 语法错误: 标识符“LONG_PTR”
定为 int。注意: C++ 不支持默认 int
1>d:\microsoft visual studio 10.0\vc\atlmfc\include\atldebugapi.h(34): error C2146: 语法错误: 缺少“)”(在标识符“dwProcess”的前面)
忽略数据上的修饰符
1>d:\microsoft visual studio 10.0\vc\atlmfc\include\atldebugapi.h(35): error C2182: “AtlTraceSnapshotProcess”: 非法使用“void”类型
1>d:\microsoft visual studio 10.0\vc\atlmfc\include\atldebugapi.h(35): error C2059: 语法错误:“)”