打开6_1.rc后,我在文件里输入如下代码
#include "windows.h"
Menu MENU DISCARDABLE
BEGIN
POPUP "文件(&F)"
POPUP "计算(&S)"
POPUP "帮助(&H)"
END BEGIN
设WndClass.lpszMenuName="Menu";
运行的时候出错如下错误:
E:\API\menu\6_1.rc (70): error RC2121 : BEGIN expected in menu
E:\API\menu\6_1.rc (70): error RC2122 : unknown menu subtype
Error executing rc.exe.