Hey,
I decided to make a little visit to Winprog and decided to go on the page "Menus and Icons" and so i copied and pasted the code from the website to give me..
#include "resource.h"
IDR_MYMENU MENU
BEGIN
POPUP "&File"
BEGIN
MENUITEM "E&xit", ID_FILE_EXIT
END
POPUP "&Stuff"
BEGIN
MENUITEM "&Go", ID_STUFF_GO
MENUITEM "G&o somewhere else", 0, GRAYED
END
END
IDI_MYICON ICON "Console.ico"
And i made my own resource.h which has..
#define IDR_MYMENU 101
#define IDI_MYICON 201
#define ID_FILE_EXIT 9001
#define ID_STUFF_GO 9002
The problem is that I get 2 Errors:
3 D:\C++ Code\Gui.cpp expected unqualified-id before numeric constant
3 D:\C++ Code\Gui.cpp expected `,' or `;' before numeric constant
Please help.