Conditional Resources
-
I am wondering how to use a different res when compiling two different project configs. I would like to change the comments in the VS_VERSION_INFO resource in a dll project that has A and W versions. I know this sounds petty but I would like to do it. Thank You Bo Hunter
-
I am wondering how to use a different res when compiling two different project configs. I would like to change the comments in the VS_VERSION_INFO resource in a dll project that has A and W versions. I know this sounds petty but I would like to do it. Thank You Bo Hunter
In the ResourceView tab, view the properties for a resource. In the prop sheet there's a
Condition
edit box, so enter a preprocessor symbol there (for example,_DEBUG
, or you can make up your own). That turns into a#ifdef _DEBUG
(or whatever symbol) in the .rc file. You can change the defined symbols on the Resources tab in the project settings. (Note: this is for VC 6, no idea how it works in 7 but it's probably completely different) ;) --Mike-- Ericahist | CP SearchBar v2.0.2 | Homepage | RightClick-Encrypt | 1ClickPicGrabber If my rhyme was a drug, I'd sell it by the gram. -
In the ResourceView tab, view the properties for a resource. In the prop sheet there's a
Condition
edit box, so enter a preprocessor symbol there (for example,_DEBUG
, or you can make up your own). That turns into a#ifdef _DEBUG
(or whatever symbol) in the .rc file. You can change the defined symbols on the Resources tab in the project settings. (Note: this is for VC 6, no idea how it works in 7 but it's probably completely different) ;) --Mike-- Ericahist | CP SearchBar v2.0.2 | Homepage | RightClick-Encrypt | 1ClickPicGrabber If my rhyme was a drug, I'd sell it by the gram.