vs2010 打开 vs2005 工程报错
2011-05-28 16:47
363 查看
error C2061: syntax error : identifier '__RPC__out_xcount_part' 填写者
New MFC application; all default accepted results in a compilation error:
1>------ Build started: Project: Test2, Configuration: Debug Win32 ------
1> stdafx.cpp
1>c:\program files\microsoft sdks\windows\v7.0a\include\objidl.h(11280): error C2061: syntax error : identifier '__RPC__out_xcount_part'
1>c:\program files\microsoft sdks\windows\v7.0a\include\objidl.h(11281): error C2059: syntax error : ')'
1>c:\program files\microsoft sdks\windows\v7.0a\include\objidl.h(11281): fatal error C1903: unable to recover from previous error(s); stopping compilation
解决方法
Check your include paths -- I had an older version of the DirectX SDK hooked up that was causing a conflict. The version of <rpcsal.h> in the DXSDK was older than the version in the Windows SDK installed by VS2010b2.
New MFC application; all default accepted results in a compilation error:
1>------ Build started: Project: Test2, Configuration: Debug Win32 ------
1> stdafx.cpp
1>c:\program files\microsoft sdks\windows\v7.0a\include\objidl.h(11280): error C2061: syntax error : identifier '__RPC__out_xcount_part'
1>c:\program files\microsoft sdks\windows\v7.0a\include\objidl.h(11281): error C2059: syntax error : ')'
1>c:\program files\microsoft sdks\windows\v7.0a\include\objidl.h(11281): fatal error C1903: unable to recover from previous error(s); stopping compilation
解决方法
Check your include paths -- I had an older version of the DirectX SDK hooked up that was causing a conflict. The version of <rpcsal.h> in the DXSDK was older than the version in the Windows SDK installed by VS2010b2.
相关文章推荐
- 将VS2010的工程转换为VS2005,即用VS2005打开
- 1、vs2005的工程用vs2010打开后用vs2005不能打开了
- 将VS2010的工程转换为VS2005,即用VS2005打开
- 配置环境变量后 vs2010工程打开报错
- VS2010等低版本软件打开VS2012等高版本工程文件原因及其解决方案
- VS2005,VS2008,VS2010工程文件和解决方案的区别
- VS2005 如何打开VS2008的工程
- 用VS2005打开VS2008生成的工程
- VS2010打开QtCreator工程(.pro)问题集锦
- VS2010 VS2005 VS2008工程之间的转换
- 怎样在VS2010中打开VS2012的项目、vs2005转换成2010
- [转载]VS2010怎样打开VS2013或者VS2015建立的工程
- vs2005如何打开vs2008中创建的工程(项目)【转】
- VS2005 打开工程报无可用平台解决(转载)
- 将VS2008工程在VS2005中打开(转载加整理)
- VS2005打开VS2008 VS2010 VS2012
- VS2005,VS2008,VS2010工程文件和解决方案的区别
- VS2010工程转到VS2005下
- vs2008的工程怎样用vs2005打开?
- VS2010打开旧版本MFC工程无对话框