can not open include file 'afxres.h'
来源:百度知道 编辑:UC知道 时间:2024/06/21 11:09:01
最近在搞MFC,没想到才把工程创建好就提示错误can not open include file 'afxres.h',我去.RC里看了,有include "afxres.h" ,而且我电脑里也有这个.H文件,谁知道是怎么回事请告诉我下,不胜感谢!
提供三种解决方法:
1. #include"完整路径"
2. 把afxres.h这个文件复制到你的project目录下,与.c/.cpp文件同目录
3. tools/ option/ directories 里选择include files, 将afxres.h所在路径加进去
不过不排除以上方法仍无法解决的情况,这种情况下,要么就是VC安装本身有问题, 要么就是整个项目存在不一致同步刷新的地方, 后者可能性更大,因为有时项目的复杂性,使文档结构混乱, 退出VC, 重新打开项目, 或将debug 文件夹删掉, 重新编译, 看看能否解决问题, 如果还不行, 重新建一个MFC示例程序, 如果不能编译成功, 那就是VC自己的问题了, 可能是相关设置在安装时出错, 进一步, 你如果会用命令行手动编译,也可以试试
uuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuu
可以啊!!!!!!!!!!!!!!!!
可以啊
CAN NOT OPEN SOCKET
开机时弹出“can not open device”
请各位大虾帮帮忙 can not open asusacpi.sys
can not find graphics card in formation
My computer can not write in Chinese
Not in use.You can use. 530414525
英语翻译can not find this client entry in codser2003
What match can not be put in a match box?
This all can not change in the lifttime!的意思
Can I get in line now to not see it?