> From: Joseph Koral [mailto:[EMAIL PROTECTED]]
> I thought I could create .r resource file for the 'tver' resource
> and do something like this (or include a common header):
>
>    #define APP_VERSION 1.0
>    data 'tver' (1) { "APP_VERSION" $"00" };
>
> However this doesn't work.  I assume the Rez compiler doesn't
> support or use a preprocessor.

Actually #define does work in Rez files.  Try this:

    #define APP_VERSION "1.0"
    data 'tver' (1) { APP_VERSION $"00" };

-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