1 .rc文件在修改.rc中的资源时会重新生成
2 如果要在.rc文件中附加其他资源则需要修改预编译处理代码
3 预编译处理代码示例
#ifdef APSTUDIO_INVOKED
/
//
// TEXTINCLUDE
//
1 TEXTINCLUDE
BEGIN
"resource.h\0"
END
2 TEXTINCLUDE
BEGIN
"#include ""afxres.h""\0"
END
3 TEXTINCLUDE
BEGIN
"#define _AFX_NO_OLE_RESOURCES\r\n"
"#define _AFX_NO_TRACKER_RESOURCES\r\n"
"#define _AFX_NO_PROPERTY_RESOURCES\r\n"
"\r\n"
"#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHS)\r\n"
"LANGUAGE 4, 2\r\n"
"#pragma code_page(936)\r\n"
"#include ""res\\mapstudio.rc2"" // 非 Microsoft Visual C++ 编辑的资源\r\n"
"#include ""afxres.rc"" // 标准组件\r\n"
"#include ""afxprint.rc"" // 打印/打印预览资源\r\n"
"#endif\r\n"
"\r\n"
"#if !defined