error RC1015: cannot open include file 'atlres.h'问题解决

问题描述:

WTL程序出现error RC1015: cannot open include file 'atlres.h'

 

解决办法:

向“VC项目属性->资源->附加包含目录”

添加WTL的Include目录(如:C:\wtl81_11324\Include)

或者

将WTL的Include目录添加到“vc++目录->包含目录”中

 

转自:http://blog.csdn.net/xiexiaofei_ll/article/details/7091168

 

1、VS2008安装WTL:

cmd,cscript WTL81_9127\AppWiz\setup90.js

2、WTL工程属性——配置属性——C/C++——常规——附加包含目录  添加WTL的Include目录

3、编译时出现error RC1015: cannot open include file 'atlres.h'

WTL工程属性——配置属性——资源——常规——附加包含目录  添加WTL的Include目录

OK

posted @ 2012-03-14 11:32  RF.W  阅读(6718)  评论(0编辑  收藏  举报