Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Visual Studio
  4. VS 2005 resource preprocessor?

VS 2005 resource preprocessor?

Scheduled Pinned Locked Moved Visual Studio
visual-studiohelpquestionloungelearning
1 Posts 1 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Offline
    J Offline
    Jim A Johnson
    wrote on last edited by
    #1

    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

    1 Reply Last reply
    0
    Reply
    • Reply as topic
    Log in to reply
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes


    • Login

    • Don't have an account? Register

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • World
    • Users
    • Groups