I am trying to make a .rc (run command) file so that i can make a windows menu for my word processor application, but the compiler keeps giving me this error "expected unqualified ID before numeric constant"
Ok so I know that an unqualified ID is some sort of object/variable that does NOT have an indication to where it belongs, and the numeric constant is the ID_Menu.. So what should i put before the numeric constant to make this work?
Haven't been creating win32 resources manually for a long time. I just created one in Visual Studio, and it gives the following code:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
#define IDC_MENU 100
#define IDM_ABOUT 101
#define IDM_EXIT 102
IDC_MENU MENU
BEGIN
POPUP "File"
BEGIN
MENUITEM "Exit", IDM_EXIT
END
POPUP "Help"
BEGIN
MENUITEM "About", IDM_ABOUT
END
END
I am still getting the same compiler error.. I have tried adding the BEGIN and END. I have also tried removing the brackets to see if it would make a difference. But the compiler keeps giving this error "expected unqualified ID before numeric constant"