vs2010 库函数问题:objidl.h(11266) : error C2061: syntax error : identifier '__RPC__out_xcount_part'
来源:互联网 发布:投资域名 后悔死了 编辑:程序博客网 时间:2024/05/29 15:34
这个错误是lib文件缺失或者include缺失导致的,但VS2010的UI设置的相当不合理,让人们想编辑原先的VC++目录文件却无从下手。解决方案如下:
打开VS2010工程项目
注意 在左下角有Solution Explorer、Class View、Property Manager等几个选项在VS2010中修改Inherited VC++ Directories和之前的VS不一样了。
显示Property Manager
里面有Debug|Win32和Release|Win32选 项
这2个选项可以设置Debug和Release的工程属性设置
打开其中任何一个
双击 Microsoft.Cpp.Win32.user会弹出Microsoft.Cpp.Win32.user Property Pages页面,
在这里可以修改Inherited VC++ Directories。
如果你遇到了下面的编译错误:
objidl.h(11266) : error C2061: syntax error : identifier '__RPC__out_xcount_part'
用上面的方法把DirectX SDK Include从Include路径中删除就可以了。
补充说明:
在project property对话框里面修改的VC++Directories是特定于工程的。以上修改的VC++Directories是全局的,影响所有工程和所有配置(Debug/Release/...)。
- vs2010 库函数问题:objidl.h(11266) : error C2061: syntax error : identifier '__RPC__out_xcount_part'
- vs2010 库函数问题:objidl.h(11266) : error C2061: syntax error : identifier '__RPC__out_xcount_part'
- vs2010 库函数问题:objidl.h(11266) : error C2061: syntax error : identifier '__RPC__out_xcount_part'
- error C2061: syntax error : identifier '__RPC__out_xcount_part'
- error C2061: syntax error : identifier '__RPC__out_xcount_part'
- error C2061: 语法错误: 标识符“__RPC__out_xcount_part” VS2010
- error C2061: 语法错误: 标识符“__RPC__out_xcount_part” VS2010
- VS2010 error C2061: 语法错误: 标识符“__RPC__out_xcount_part” 解决方法
- error C2061: syntax error : identifier 'LONG_PTR'
- error C2061: syntax error : identifier 'THIS_FILE'
- error C2061: syntax error : identifier 'CAMSchedule'
- error C2061: syntax error : identifier '__RPC__deref_out_opt
- error C2061: syntax error : identifier ‘XXXX’
- error C2061: syntax error : identifier 'THIS_FILE'
- error C2061: syntax error : identifier 'THIS_FILE'
- error C2061: syntax error : identifier 'PCONTEXT'处理
- error C2061: syntax error : identifier '_Wherenode'
- error C2061: syntax error : identifier 'CAMSchedule'
- HTTP协议详解
- android onTouch
- Android创建桌面快捷方式和判断当前快捷方式是否已经存在
- 科技保险推行两年只有两成企业投保
- springMVC详解以及注解说明
- vs2010 库函数问题:objidl.h(11266) : error C2061: syntax error : identifier '__RPC__out_xcount_part'
- jsp中9大内置对象
- hdu 2222 DFA 模板题
- linux_sound_alsa_ALSA体系SOC子系统中hw_params逻辑
- 《mysql数据表崩溃/损坏解决办法》相关文章收集(1)
- VMWare Shared folders horrendously slow
- c3p0 xml配置文件模版
- android EditText软件盘弹出遮挡控件解决方案
- Android入门系列一(Android学习方法)