VC7.1 replaces #define values with numeric constants for .rc menu items. Setting to prevent this?

Tech-Archive recommends: Fix windows errors by optimizing your registry



Summary:
The VC71 resource editor is replacing #define values with numeric constants
for the menu-items in the .rc file.

Is there a setting to prevent this? Am I doing something wrong?

More information:
* The app was originally generated from vc6's wizard.
* Changing the menu with the vc6 resource editor doesn't cause this problem.
* I've been using a text editor to make changes to the menu.
* Following are abbreviated contents of Resource.h and MyTestApp.rc

Resource.h
#define ID_TRAN_REFRESH_LIST 32860
#define ID_TRAN_CONSERVE_MEMORY 32861


MyTestApp.rc WAS:

IDR_MAINFRAME MENU DISCARDABLE // <-- Is this incorrect?
BEGIN
POPUP "MyMenuGroup"
BEGIN
MENUITEM "Conserve Memory (Slow)", ID_TRAN_CONSERVE_MEMORY
MENUITEM SEPARATOR
MENUITEM "Refresh List of Trans", ID_TRAN_REFRESH_LIST
END

AFTER using VC71 resource editor to make a change to the menu and compiling:

IDR_MAINFRAME MENUEX
BEGIN
POPUP "MmMenuGroup", 65535,MFT_STRING,MFS_ENABLED
BEGIN
MENUITEM "Conserve Memory (Slow)", 32861,MFT_STRING,MFS_ENABLED
MENUITEM MFT_SEPARATOR
MENUITEM "Refresh List of Trans", 32860, MFT_STRING,MFS_ENABLED
END


.



Relevant Pages