vs2010新建一个默认MFC程序运行报如下错误,什么也没有改动,求解答,谢谢。
stdafx.cpp1>d:\program files (x86)\microsoft visual studio 10.0\vc\atlmfc\include\atlcore.h(111): error C3861: “InitializeCriticalSectionAndSpinCount”: 找不到标识符
1>d:\program files (x86)\microsoft visual studio 10.0\vc\atlmfc\include\atltransactionmanager.h(188): error C2061: 语法错误: 标识符“WIN32_FIND_DATA”
1>d:\program files (x86)\microsoft visual studio 10.0\vc\atlmfc\include\atltransactionmanager.h(441): error C2143: 语法错误 : 缺少“)”(在“__stdcall”的前面)
1>d:\program files (x86)\microsoft visual studio 10.0\vc\atlmfc\include\atltransactionmanager.h(441): error C2059: 语法错误:“)”
1>d:\program files (x86)\microsoft visual studio 10.0\vc\atlmfc\include\atltransactionmanager.h(442): error C2065: “PFNMOVEFILETRANSACTED”: 未声明的标识符
1>d:\program files (x86)\microsoft visual studio 10.0\vc\atlmfc\include\atltransactionmanager.h(442): error C2146: 语法错误: 缺少“;”(在标识符“pfMoveFileTransacted”的前面)
1>d:\program files (x86)\microsoft visual studio 10.0\vc\atlmfc\include\atltransactionmanager.h(442): error C2065: “pfMoveFileTransacted”: 未声明的标识符
1>d:\program files (x86)\microsoft visual studio 10.0\vc\atlmfc\include\atltransactionmanager.h(442): error C2065: “PFNMOVEFILETRANSACTED”: 未声明的标识符
1>d:\program files (x86)\microsoft visual studio 10.0\vc\atlmfc\include\atltransactionmanager.h(442): error C2146: 语法错误: 缺少“;”(在标识符“GetProcAddress”的前面)
1>d:\program files (x86)\microsoft visual studio 10.0\vc\atlmfc\include\atltransactionmanager.h(447): error C2065: “pfMoveFileTransacted”: 未声明的标识符
1>d:\program files (x86)\microsoft visual studio 10.0\vc\atlmfc\include\atltransactionmanager.h(449): error C2065: “pfMoveFileTransacted”: 未声明的标识符
1>d:\program files (x86)\microsoft visual studio 10.0\vc\atlmfc\include\atltransactionmanager.h(496): error C2065: “WIN32_FILE_ATTRIBUTE_DATA”: 未声明的标识符
1>d:\program files (x86)\microsoft visual studio 10.0\vc\atlmfc\include\atltransactionmanager.h(496): error C2146: 语法错误: 缺少“;”(在标识符“fileAttributeData”的前面)
1>d:\program files (x86)\microsoft visual studio 10.0\vc\atlmfc\include\atltransactionmanager.h(496): error C2065: “fileAttributeData”: 未声明的标识符
1>d:\program files (x86)\microsoft visual studio 10.0\vc\atlmfc\include\atltransactionmanager.h(497): error C2065: “fileAttributeData”: 未声明的标识符
1>d:\program files (x86)\microsoft visual studio 10.0\vc\atlmfc\include\atltransactionmanager.h(499): error C2065: “fileAttributeData”: 未声明的标识符
1>d:\program files (x86)\microsoft visual studio 10.0\vc\atlmfc\include\atltransactionmanager.h(499): error C2228: “.dwFileAttributes”的左边必须有类/结构/联合
1> 类型是“'unknown-type'”
1>d:\program files (x86)\microsoft visual studio 10.0\vc\atlmfc\include\atltransactionmanager.h(540): error C2061: 语法错误: 标识符“WIN32_FIND_DATA”
1>d:\program files (x86)\microsoft visual studio 10.0\vc\atlmfc\include\atltransactionmanager.h(552): error C2143: 语法错误 : 缺少“)”(在“__stdcall”的前面)
1>d:\program files (x86)\microsoft visual studio 10.0\vc\atlmfc\include\atltransactionmanager.h(552): error C2059: 语法错误:“)”
1>d:\program files (x86)\microsoft visual studio 10.0\vc\atlmfc\include\atltransactionmanager.h(553): error C2065: “PFNFINDFIRSTFILETRANSACTED”: 未声明的标识符
1>d:\program files (x86)\microsoft visual studio 10.0\vc\atlmfc\include\atltransactionmanager.h(553): error C2146: 语法错误: 缺少“;”(在标识符“pfFindFirstFileTransacted”的前面)
1>d:\program files (x86)\microsoft visual studio 10.0\vc\atlmfc\include\atltransactionmanager.h(553): error C2065: “pfFindFirstFileTransacted”: 未声明的标识符
1>d:\program files (x86)\microsoft visual studio 10.0\vc\atlmfc\include\atltransactionmanager.h(553): error C2065: “PFNFINDFIRSTFILETRANSACTED”: 未声明的标识符
1>d:\program files (x86)\microsoft visual studio 10.0\vc\atlmfc\include\atltransactionmanager.h(553): error C2146: 语法错误: 缺少“;”(在标识符“GetProcAddress”的前面)
1>d:\program files (x86)\microsoft visual studio 10.0\vc\atlmfc\include\atltransactionmanager.h(558): error C2065: “pfFindFirstFileTransacted”: 未声明的标识符
1>d:\program files (x86)\microsoft visual studio 10.0\vc\atlmfc\include\atltransactionmanager.h(560): error C2065: “pfFindFirstFileTransacted”: 未声明的标识符
1>d:\program files (x86)\microsoft visual studio 10.0\vc\atlmfc\include\atltransactionmanager.h(560): error C2065: “FindExInfoStandard”: 未声明的标识符
1>d:\program files (x86)\microsoft visual studio 10.0\vc\atlmfc\include\atltransactionmanager.h(560): error C2065: “pNextInfo”: 未声明的标识符
1>d:\program files (x86)\microsoft visual studio 10.0\vc\atlmfc\include\atltransactionmanager.h(560): error C2065: “FindExSearchNameMatch”: 未声明的标识符
1>d:\program files (x86)\microsoft visual studio 10.0\vc\atlmfc\include\atltransactionmanager.h(565): error C2065: “pNextInfo”: 未声明的标识符
1>c:\program files (x86)\microsoft sdks\windows\v7.0a\include\shobjidl.h(12663): error C2061: 语法错误: 标识符“WIN32_FIND_DATAA”
1>c:\program files (x86)\microsoft sdks\windows\v7.0a\include\shobjidl.h(12934): error C2061: 语法错误: 标识符“WIN32_FIND_DATAW”
1>c:\program files (x86)\microsoft sdks\windows\v7.0a\include\shobjidl.h(30808): error C4430: 缺少类型说明符 - 假定为 int。注意: C++ 不支持默认 int
1>c:\program files (x86)\microsoft sdks\windows\v7.0a\include\shobjidl.h(30808): error C2143: 语法错误 : 缺少“,”(在“*”的前面)
1>c:\program files (x86)\microsoft sdks\windows\v7.0a\include\shobjidl.h(30811): error C2061: 语法错误: 标识符“WIN32_FIND_DATAW”
1>d:\program files (x86)\microsoft visual studio 10.0\vc\atlmfc\include\afxcomctl32.h(227): error C3861: “ActivateActCtx”: 找不到标识符
1>d:\program files (x86)\microsoft visual studio 10.0\vc\atlmfc\include\afxcomctl32.h(227): error C3861: “DeactivateActCtx”: 找不到标识符
1>d:\program files (x86)\microsoft visual studio 10.0\vc\atlmfc\include\afxcomctl32.h(228): error C3861: “ActivateActCtx”: 找不到标识符
1>d:\program files (x86)\microsoft visual studio 10.0\vc\atlmfc\include\afxcomctl32.h(228): error C3861: “DeactivateActCtx”: 找不到标识符
1>d:\program files (x86)\microsoft visual studio 10.0\vc\atlmfc\include\afxcomctl32.h(229): error C3861: “ActivateActCtx”: 找不到标识符
1>d:\program files (x86)\microsoft visual studio 10.0\vc\atlmfc\include\afxcomctl32.h(229): error C3861: “DeactivateActCtx”: 找不到标识符
1>d:\program files (x86)\microsoft visual studio 10.0\vc\atlmfc\include\afxcomctl32.h(230): error C3861: “ActivateActCtx”: 找不到标识符
1>d:\program files (x86)\microsoft visual studio 10.0\vc\atlmfc\include\afxcomctl32.h(230): error C3861: “DeactivateActCtx”: 找不到标识符
1>d:\program files (x86)\microsoft visual studio 10.0\vc\atlmfc\include\afxcomctl32.h(231): error C3861: “ActivateActCtx”: 找不到标识符
1>d:\program files (x86)\microsoft visual studio 10.0\vc\atlmfc\include\afxcomctl32.h(231): error C3861: “DeactivateActCtx”: 找不到标识符
1>d:\program files (x86)\microsoft visual studio 10.0\vc\atlmfc\include\afxcomctl32.h(232): error C3861: “ActivateActCtx”: 找不到标识符
1>d:\program files (x86)\microsoft visual studio 10.0\vc\atlmfc\include\afxcomctl32.h(232): error C3861: “DeactivateActCtx”: 找不到标识符
1>d:\program files (x86)\microsoft visual studio 10.0\vc\atlmfc\include\afxcomctl32.h(233): error C3861: “ActivateActCtx”: 找不到标识符
1>d:\program files (x86)\microsoft visual studio 10.0\vc\atlmfc\include\afxcomctl32.h(233): error C3861: “DeactivateActCtx”: 找不到标识符
1>d:\program files (x86)\microsoft visual studio 10.0\vc\atlmfc\include\afxcomctl32.h(234): error C3861: “ActivateActCtx”: 找不到标识符
1>d:\program files (x86)\microsoft visual studio 10.0\vc\atlmfc\include\afxcomctl32.h(234): error C3861: “DeactivateActCtx”: 找不到标识符
1>d:\program files (x86)\microsoft visual studio 10.0\vc\atlmfc\include\afxcomctl32.h(235): error C3861: “ActivateActCtx”: 找不到标识符
1>d:\program files (x86)\microsoft visual studio 10.0\vc\atlmfc\include\afxcomctl32.h(235): error C3861: “DeactivateActCtx”: 找不到标识符
1>d:\program files (x86)\microsoft visual studio 10.0\vc\atlmfc\include\afxcomctl32.h(236): error C3861: “ActivateActCtx”: 找不到标识符
1>d:\program files (x86)\microsoft visual studio 10.0\vc\atlmfc\include\afxcomctl32.h(236): error C3861: “DeactivateActCtx”: 找不到标识符
1>d:\program files (x86)\microsoft visual studio 10.0\vc\atlmfc\include\afxcomctl32.h(237): error C3861: “ActivateActCtx”: 找不到标识符
1>d:\program files (x86)\microsoft visual studio 10.0\vc\atlmfc\include\afxcomctl32.h(237): error C3861: “DeactivateActCtx”: 找不到标识符
1>d:\program files (x86)\microsoft visual studio 10.0\vc\atlmfc\include\afxcomctl32.h(238): error C3861: “ActivateActCtx”: 找不到标识符
1>d:\program files (x86)\microsoft visual studio 10.0\vc\atlmfc\include\afxcomctl32.h(238): error C3861: “DeactivateActCtx”: 找不到标识符
1>d:\program files (x86)\microsoft visual studio 10.0\vc\atlmfc\include\afxcomctl32.h(239): error C3861: “ActivateActCtx”: 找不到标识符
1>d:\program files (x86)\microsoft visual studio 10.0\vc\atlmfc\include\afxcomctl32.h(239): error C3861: “DeactivateActCtx”: 找不到标识符
1>d:\program files (x86)\microsoft visual studio 10.0\vc\atlmfc\include\afxcomctl32.h(240): error C3861: “ActivateActCtx”: 找不到标识符
1>d:\program files (x86)\microsoft visual studio 10.0\vc\atlmfc\include\afxcomctl32.h(240): error C3861: “DeactivateActCtx”: 找不到标识符
1>d:\program files (x86)\microsoft visual studio 10.0\vc\atlmfc\include\afxcomctl32.h(241): error C3861: “ActivateActCtx”: 找不到标识符
1>d:\program files (x86)\microsoft visual studio 10.0\vc\atlmfc\include\afxcomctl32.h(241): error C3861: “DeactivateActCtx”: 找不到标识符
1>d:\program files (x86)\microsoft visual studio 10.0\vc\atlmfc\include\afxcomctl32.h(242): error C3861: “ActivateActCtx”: 找不到标识符
1>d:\program files (x86)\microsoft visual studio 10.0\vc\atlmfc\include\afxcomctl32.h(242): error C3861: “DeactivateActCtx”: 找不到标识符
1>d:\program files (x86)\microsoft visual studio 10.0\vc\atlmfc\include\afxcomctl32.h(243): error C3861: “ActivateActCtx”: 找不到标识符
1>d:\program files (x86)\microsoft visual studio 10.0\vc\atlmfc\include\afxcomctl32.h(243): error C3861: “DeactivateActCtx”: 找不到标识符
1>d:\program files (x86)\microsoft visual studio 10.0\vc\atlmfc\include\afxcomctl32.h(244): error C3861: “ActivateActCtx”: 找不到标识符
1>d:\program files (x86)\microsoft visual studio 10.0\vc\atlmfc\include\afxcomctl32.h(244): error C3861: “DeactivateActCtx”: 找不到标识符
1>d:\program files (x86)\microsoft visual studio 10.0\vc\atlmfc\include\afxcomctl32.h(245): error C3861: “ActivateActCtx”: 找不到标识符
1>d:\program files (x86)\microsoft visual studio 10.0\vc\atlmfc\include\afxcomctl32.h(245): error C3861: “DeactivateActCtx”: 找不到标识符
1>d:\program files (x86)\microsoft visual studio 10.0\vc\atlmfc\include\afxcomctl32.h(246): error C3861: “ActivateActCtx”: 找不到标识符
1>d:\program files (x86)\microsoft visual studio 10.0\vc\atlmfc\include\afxcomctl32.h(246): error C3861: “DeactivateActCtx”: 找不到标识符
1>d:\program files (x86)\microsoft visual studio 10.0\vc\atlmfc\include\afxcomctl32.h(247): error C3861: “ActivateActCtx”: 找不到标识符
1>d:\program files (x86)\microsoft visual studio 10.0\vc\atlmfc\include\afxcomctl32.h(247): error C3861: “DeactivateActCtx”: 找不到标识符
1>d:\program files (x86)\microsoft visual studio 10.0\vc\atlmfc\include\afxcomctl32.h(248): error C3861: “ActivateActCtx”: 找不到标识符
1>d:\program files (x86)\microsoft visual studio 10.0\vc\atlmfc\include\afxcomctl32.h(248): error C3861: “DeactivateActCtx”: 找不到标识符
1>d:\program files (x86)\microsoft visual studio 10.0\vc\atlmfc\include\afxcomctl32.h(249): error C3861: “ActivateActCtx”: 找不到标识符
1>d:\program files (x86)\microsoft visual studio 10.0\vc\atlmfc\include\afxcomctl32.h(249): error C3861: “DeactivateActCtx”: 找不到标识符
1>d:\program files (x86)\microsoft visual studio 10.0\vc\atlmfc\include\afxcomctl32.h(250): error C3861: “ActivateActCtx”: 找不到标识符
1>d:\program files (x86)\microsoft visual studio 10.0\vc\atlmfc\include\afxcomctl32.h(250): error C3861: “DeactivateActCtx”: 找不到标识符
1>d:\program files (x86)\microsoft visual studio 10.0\vc\atlmfc\include\afxcomctl32.h(251): error C3861: “ActivateActCtx”: 找不到标识符
1>d:\program files (x86)\microsoft visual studio 10.0\vc\atlmfc\include\afxcomctl32.h(251): error C3861: “DeactivateActCtx”: 找不到标识符
1>d:\program files (x86)\microsoft visual studio 10.0\vc\atlmfc\include\afxcomctl32.h(252): error C3861: “ActivateActCtx”: 找不到标识符
1>d:\program files (x86)\microsoft visual studio 10.0\vc\atlmfc\include\afxcomctl32.h(252): error C3861: “DeactivateActCtx”: 找不到标识符
1>d:\program files (x86)\microsoft visual studio 10.0\vc\atlmfc\include\afxcomctl32.h(253): error C3861: “ActivateActCtx”: 找不到标识符
1>d:\program files (x86)\microsoft visual studio 10.0\vc\atlmfc\include\afxcomctl32.h(253): error C3861: “DeactivateActCtx”: 找不到标识符
1>d:\program files (x86)\microsoft visual studio 10.0\vc\atlmfc\include\afxcomctl32.h(254): error C3861: “ActivateActCtx”: 找不到标识符
1>d:\program files (x86)\microsoft visual studio 10.0\vc\atlmfc\include\afxcomctl32.h(254): error C3861: “DeactivateActCtx”: 找不到标识符
1>d:\program files (x86)\microsoft visual studio 10.0\vc\atlmfc\include\afxcomctl32.h(255): error C3861: “ActivateActCtx”: 找不到标识符
1>d:\program files (x86)\microsoft visual studio 10.0\vc\atlmfc\include\afxcomctl32.h(255): error C3861: “DeactivateActCtx”: 找不到标识符
1>d:\program files (x86)\microsoft visual studio 10.0\vc\atlmfc\include\afxcomctl32.h(256): error C3861: “ActivateActCtx”: 找不到标识符
1>d:\program files (x86)\microsoft visual studio 10.0\vc\atlmfc\include\afxcomctl32.h(256): error C3861: “DeactivateActCtx”: 找不到标识符
1>d:\program files (x86)\microsoft visual studio 10.0\vc\atlmfc\include\afxcomctl32.h(257): error C3861: “ActivateActCtx”: 找不到标识符
1>d:\program files (x86)\microsoft visual studio 10.0\vc\atlmfc\include\afxcomctl32.h(257): error C3861: “DeactivateActCtx”: 找不到标识符
1>d:\program files (x86)\microsoft visual studio 10.0\vc\atlmfc\include\afxcomctl32.h(259): error C3861: “ActivateActCtx”: 找不到标识符
1>d:\program files (x86)\microsoft visual studio 10.0\vc\atlmfc\include\afxcomctl32.h(259): error C3861: “DeactivateActCtx”: 找不到标识符
1>d:\program files (x86)\microsoft visual studio 10.0\vc\atlmfc\include\afxcomctl32.h(260): error C3861: “ActivateActCtx”: 找不到标识符
1>d:\program files (x86)\microsoft visual studio 10.0\vc\atlmfc\include\afxcomctl32.h(260): error C3861: “DeactivateActCtx”: 找不到标识符
1>d:\program files (x86)\microsoft visual studio 10.0\vc\atlmfc\include\afxcomctl32.h(260): fatal error C1003: 错误计数超过 100;正在停止编译
1>
1>生成失败。
1>
1>已用时间 00:00:01.45
========== 生成: 成功 0 个,失败 1 个,最新 0 个,跳过 0 个 ==========