• Advertisement
Sign in to follow this  

resource.h not automatically updating

This topic is 4736 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I have a resource file included within my project (VC++ 6), aptly named "resource.rc" and I just added a menu to it. Now, when I save the resource file, isn't VC++ supposed to rewrite the "resource.h" file with all the define's and everything? Only two of my menu items are included in the header and I was wondering if there was a reason? Just before this happened, I inserted "resource.rc" into the project (Project->Add To Project->Files). The menu shows up properly and when I click on the last two items, the actions I have set up work fine, but the first three, which don't have #define's associated inside the resource header obviously do nothing because I can't compile the switch statement with the menu item labels.

Share this post


Link to post
Share on other sites
Advertisement
I believe VC only re-edits resources.h if you add the items through the built-in resource editor. However, the specifics of what VC does are likely well documented in the copious manuals that come with that product...

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement