Microsoft Visual Studio 10.0 \ vc \ atlmfc \ include \ afxwin.h(1198):错误C2061 [英] microsoft visual studio 10.0\vc\atlmfc\include\afxwin.h(1198): error C2061

查看:258
本文介绍了Microsoft Visual Studio 10.0 \ vc \ atlmfc \ include \ afxwin.h(1198):错误C2061的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

也许我意外地编辑了头文件,现在当我尝试编译项目时,遇到以下错误.

d:\ program files \ Microsoft Visual Studio 10.0 \ vc \ atlmfc \ include \ afxwin.h(1198):错误C2061:"LPCMENusrInfo"
1> d:\ program files \ Microsoft Visual Studio 10.0 \ vc \ atlmfc \ include \ afxwin.h(1199):错误C2061:"LPMENusrInfo"
1> d:\ program files \ Microsoft Visual Studio 10.0 \ vc \ atlmfc \ include \ afxwin4.inl(98):错误C2039:"SetMenuInfo":不是"CMenu"的成员



请告诉我在哪里可以下载VisualStudio2010的头文件.
如果有人将afxwin4.inl,afxwin.h发送到我的电子邮件,我将不胜感激:[DELETED] @ qq.com

[edit]除非您真的喜欢垃圾邮件,否则请不要在任何论坛中发布您的电子邮件地址!如果有人回复您,您将收到一封电子邮件,通知您-OriginalGriff [/edit]

Maybe I edit the header files accidently, now when I try to compile the project,I meet the following errors.

d:\program files\microsoft visual studio 10.0\vc\atlmfc\include\afxwin.h(1198): error C2061: "LPCMENusrInfo"
1>d:\program files\microsoft visual studio 10.0\vc\atlmfc\include\afxwin.h(1199): error C2061: "LPMENusrInfo"
1>d:\program files\microsoft visual studio 10.0\vc\atlmfc\include\afxwin4.inl(98): error C2039: "SetMenuInfo": not the member of "CMenu"



Please tell me where can I download the header files of VisualStudio2010.
I''ll be thankful if anyone would send afxwin4.inl、afxwin.h to my email :[DELETED]@qq.com

[edit]Never post your email address in any forum, unless you really like spam! If anyone replies to you, you will receive an email to let you know - OriginalGriff[/edit]

推荐答案

如果您不小心"编辑了标准头文件,并没有任何效果,那么我建议您最好的办法是在VS安装上运行修复-您可以从控制面板"中执行此操作:程序和功能","Visual Studio 2010 Professional",然后按照以下步骤操作对话框以修复/重新安装"
If you have "accidentally" edited the standard header files, and nothing works any more, then I would suggest that the best thing you can do is to run a repair on the VS installation - you can do this from Control Panel: "Programs and Features", "Visual Studio 2010 Professional", then follow the dialogs to "Repair/Reinstall"


这篇关于Microsoft Visual Studio 10.0 \ vc \ atlmfc \ include \ afxwin.h(1198):错误C2061的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆