| 网站首页 | 业界新闻 | 小组 | 威客 | 人才 | 下载频道 | 博客 | 代码贴 | 在线编程 | 编程论坛
欢迎加入我们,一同切磋技术
用户名:   
 
密 码:  
共有 949 人关注过本帖
标题:vs2010新建一个默认MFC程序运行报如下错误,什么也没有改动,求解答,谢谢。 ...
只看楼主 加入收藏
a4875030
Rank: 1
等 级:新手上路
帖 子:1
专家分:0
注 册:2013-9-18
结帖率:0
收藏
已结贴  问题点数:20 回复次数:1 
vs2010新建一个默认MFC程序运行报如下错误,什么也没有改动,求解答,谢谢。
stdafx.cpp
1>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 个 ==========
搜索更多相关主题的帖子: microsoft include visual files 
2013-09-18 16:19
pauljames
Rank: 19Rank: 19Rank: 19Rank: 19Rank: 19Rank: 19
等 级:千里冰封
威 望:9
帖 子:1555
专家分:10000
注 册:2011-5-8
收藏
得分:20 
这个是编译就错了,是不是路径设置错了

经常不在线不能及时回复短消息,如有c/单片机/运动控制/数据采集等方面的项目难题可加qq1921826084。
2013-09-23 08:23
快速回复:vs2010新建一个默认MFC程序运行报如下错误,什么也没有改动,求解答, ...
数据加载中...
 
   



关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.026733 second(s), 7 queries.
Copyright©2004-2024, BCCN.NET, All Rights Reserved