PocketMatrix forums

A read-only archive of the PocketMatrix forums (2001–2014). Posting and accounts are closed.

Conditional inclusion of HI_RES_AWARE flag

Hi to all,

i wonder if there is a way to include the HI_RES_AWARE flag on my project using conditional defines.

Until now, i had to keep two project files (with and without the CEUX resource). It would be very cool if i could have just one evc++ project file and two configurations (with different #define)

I tried to manually open the .rc file and putting an #ifdef before the HI_RES_AWARE inclusion, but it looks like it doesn't work :(

Any suggestion?

Thanks in advance.
Nevermind, i just saw the "Condition" in the resource properties. It should do the trick 8O

From help:
Condition



Determines the inclusion of the resource. For example, if the condition is _DEBUG, this resource would be included only in debug builds.