Hi, I have a resource script problem. Every time I compile my program, I get the following error message:
C:\Documents and Settings\Edwin\My Documents\VS 6.0 Test\testexperiment5\Menus_ids.h(7) : fatal error RC1004: unexpected end of file found
Error executing rc.exe.
Here the two file connected to the resources:
Menus_ids.h
Code:
#define IDM_EXIT 2000
#define IDM_CHICKEN 2021
#define IDM_FISH 2022
#define IDM_GINGERALE 2041
#define IDM_ROOTBEER 2042
#define IDM_SHOW_TOTAL 2051
#define IDM_CLEAR_TOTAL 2052
Menus.rc
Code:
#include <afxres.h>
#include "Menus_ids.h"
Food MENU
{
POPUP "File"
{
MENUITEM "Exit", IDM_EXIT
}
POPUP "Entree"
{
MENUITEM "Chicken", IDM_CHICKEN
MENUITEM "Fish", IDM_FISH
}
POPUP "Beverage"
{
MENUITEM "Ginger Ale", IDM_GINGERALE
MENUITEM "Root Beer", IDM_ROOTBEER
}
POPUP "Order"
{
MENUITEM "Show Total", IDM_SHOW_TOTAL
MENUITEM "Clear Total", IDM_CLEAR_TOTAL
}
}
Can onyone help me find what is wrong? Thank you for your help.