环境: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