It seems to work for me. However, you may want to check whether rez.out is
write-protected? I've seen this happen before when you try to overwrite a
write-protected rez.out.

Rgds,
-- Jun-Kiat Lam
Metrowerks Technical Support

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Joseph
Koral
Sent: Thursday, June 22, 2000 1:22 PM
To: Palm Developer Forum
Subject: RE: Application version


> Actually #define does work in Rez files.  Try this:
>
>     #define APP_VERSION "1.0"
>     data 'tver' (1) { APP_VERSION $"00" };

Thanks, that variant *does* work (although I swear I tried it earlier and it
didn't work).

However when I try the following, I get "Fatal error trying to open the
resource file "rez.out" for writing".

    // Version.h
    #define APP_VERSION "1.0"

   // Version.r
   #include "Version.h"
   data 'tver' (1) { APP_VERSION $"00" };



Joseph Koral
[EMAIL PROTECTED]



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


-- 
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