error RC2104:undefined keyword or key name 问题

来源:互联网 发布:交换机端口命令 编辑:程序博客网 时间:2024/06/04 17:57
如果升级VS工程,发现编辑了*.rc后,出现编译错误,error RC2104:undefined keyword or key name,基本上是由于升级时,把*.rc中的#include <windows.h>去掉了,加了一个resouce.h,在*.rc中将#include <windows.h>加上就可以了。
0 0