Hey. Things are going along nicely. Well, they were. Learning menus now.
I'm having problems with the .RC files. The resource files that contain information on what is actually in the menus. Here is the code:
Code:
#include "resource.h"
MYMENU1 MENU DISCARDABLE
BEGIN
POPUP "File"
BEGIN
MENUITEM "Open", ID_FILE_OPEN
MENUITEM "Close", ID_FILE_CLOSE
MENUITEM "Exit", ID_FILE_EXIT
END
POPUP "Help"
BEGIN
MENUITEM "About", ID_HELP_ABOUT
END
END
.
This the resource file for a simple windows program that has menus. One is "file" and one is "help". I can't get this to compile. I'm using MSVC 6.0. This is what it says:
Compiling resources...
C:\Program Files\Microsoft Visual Studio\MyProjects\Basic menu\Prog_2.rc(1) : fatal error RC1015: cannot open include file 'resource.h'.
Error executing rc.exe.
Prog_2.res - 1 error(s), 0 warning(s)
I don't know where or what resource.h is. Is it a generated header file? Any help would be appreciated. I'd like to get this compiled, understand it and move on to better things.