-
-
[求助]windows PE 权威指南中的编译问题
-
发表于:
2012-7-18 15:44
15495
-
[求助]windows PE 权威指南中的编译问题
小弟在看《windows PE 权威指南》,在三个小工具的编写那部分,创建的资源文件pe.rc编译不过,不得要领,求大大略微点播下:
#include <resource.h>
#define ICO_MAIN 1000
#define DLG_MAIN 1000
#define IDC_INFO 1001
#define IDM_MAIN 2000
#define IDM_OPEN 2001
#define IDM_EXIT 2002
#define IDM_1 4000
#define IDM_2 4001
#define IDM_3 4002
#define IDM_t 4003
ICO_MAIN ICON "Icon_171.ico"
DLG_MAIN DIALOG 50,50,544,399
STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "PE文件基本信息 by 笼中飞鸟"
MENU IDM_MAIN
FONT 9,"宋体"
BEGIN
CONTROL "",IDC_INFO,"RichEdit20A",196 | ES_WANTRETURN | WS_CHILD | ES_READONLY | WS_VISIBLE | WS_BORDER | WS_VSCROLL | WS_TABSTOP,0,0,540,396
END
IDM_MAIN menu discardable
BEGIN
POPUP "文件(&F)"
BEGIN
menuitem "打开文件(&o)...",IDM_OPEN
menuitem separator
menuitem "退出(&x),IDM_EXIT
END
POPUP "编辑"
BEGIN
menuitem "源文件",IDM_1
menuitem "窗口透明度",IDM_2
menuitem separator
menuitem "大小",IDM_3
menuitem "宽度",IDM_4
END
END
提示:"未定义的关键字或Key name:编辑"
[注意]传递专业知识、拓宽行业人脉——看雪讲师团队等你加入!