RC2104 是个BUG

来源:互联网 发布:人工智能百度百科 编辑:程序博客网 时间:2024/06/05 19:18

环境:xp+vc6.0

创建一个新的项目想把原项目的字符串资源copy过来,发现编辑rc文档是不可行的


MSDN给出的解释是: 

undefined keyword or key name: key

The specified keyword or key name was not defined.

If you encounter the following error message:

undefined keyword or key name: MFT_STRING 

open MCL\MFC\Include\AfxRes.h and add the following include directive:

#include <winresrc.h>

试过以后完全不行


其实原因很简单

没有在resourc.h 中添加资源ID

原创粉丝点击