VS 2005 resource preprocessor?
-
I'm converting a large project from VC 7 (VS 2002) to VS 2005, and am stubbing my toe on the resource preprocessor. The following is defined in the Resource | General section of the Project Properties: _DEBUG;EMULATOR_X_STANDALONE In our resource file, we have: #if defined(APSTUDIO_INVOKED) || defined(EMULATOR_X_STANDALONE) #if defined(APSTUDIO_INVOKED) IDR_MASTER_DOC$(EMULATOR_X_STANDALONE) ICON "res\\EmulatorX.ico" #else IDR_MASTER_DOC ICON "res\\EmulatorX.ico" #endif #endif And if I try to open the file in the VS2005 resource editor, I get the message: error RC2135: file not found: ICON If I remove the original lines from the preprocessor definitions, everything opens correctly; but presumably the proper resources will not be included in the executable. Anyone have a clue on what's going on here? Cuz I don't. TIA