Im trying to compile an rc file in code::blocks but im getting some errors. Here's the file:
#include "I:/Win32/Win32_SimpleMenu/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 "menu_one.ico"
the compiler says it is compiling the rc file, but it does nothing. After cancling i get:
can't open file `prompt': No such file or directory|
||preprocessing failed.|
||=== Build finished: 2 errors, 0 warnings ===|
resource.h
#define IDR_MYMENU 101
#define IDI_MYICON 102
#define ID_FILE_EXIT 40001
#define ID_STUFF_GO 40002
#define ID_STUFF_GOSOMEWHEREELSE 40003
Thanks if you can help!