I have tried to impliment this, but I get an error 'can't create 'rez.out'.

Previously I tried to impliment .r files and had the same problem.  The TEXT .r type 
is created in the target settings will all flags off.

What else can I try?

Sandi

<You can define the icon name in a single Rez (.r) text file instead of Constructor.  
This makes it easy to use regular conditional compilation (#if, #ifdef) based on 
#define macros from each target's own prefix file.
Something like this:

    #if ERROR_CHECK_LEVEL == ERROR_CHECK_FULL
        resource 'tAIN' (1000) { "My App (dbg)" };
    #else
        resource 'tAIN' (1000) { "My App" };
    #endif

(This example assumes standard project setup with Debug and Release targets,
each having a prefix file that defines ERROR_CHECK_LEVEL appropriately.)

-slj-
>

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/

Reply via email to