問題描述:
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