无法打开包含文件"atlres.h" [英] cannot open include file 'atlres.h'

查看:176
本文介绍了无法打开包含文件"atlres.h"的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好.我正在尝试打开一些使用WTL编写的项目.当我尝试重建它(在Win XP上使用VS2008)时,出现上述编译错误.现在,"atlres.h"文件位于我已正确添加到项目设置中的目录中,并且我不知道为什么会出现错误!它?但不能打开它?
请帮助!
提前谢谢.

Hi to all. I''m trying to open some project wroted using WTL. When I try to rebuild it (using VS2008 on Win XP) I get the compile error as above. Now, "atlres.h" file is in directory which I added to my project settings properly and I don''t know why error appears!?
The message states "cannot open.." which means it has no trouble locating it? but rather cant open it?
Please help!
Thanks in advance.

推荐答案

我认为您需要将WTL包含目录添加到包含目录中资源编译器的路径.右键单击项目,选择属性",在属性窗口中选择资源"->常规",然后将WTL包含目录添加到附加包含目录".
I think you need to add the WTL include directory to the include directory path for the resource compiler. Right-click on the project, select ''Properties'', select Resources->General in the properties window and add the WTL include directory to Additional Include Directories.


< pre lang ="text">请转到工具"->选项"菜单.
选项对话框打开.
选择项目和解决方案.
选择VC ++目录.
在显示目录:"中,选择包含文件".
在此处添加文件退出所在的目录路径.
并确定.</pre>
现在尝试构建您的项目.
<pre lang="text">Plesase go to the Tools->Options menu.
Options dialog opens.
Choose projects and solutions.
Choose VC++ directories.
In "show directories for : ", choose "Include Files".
Here add the directory path where your file exits.
and give ok.</pre>
Now try to build your project.


这篇关于无法打开包含文件"atlres.h"的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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