>The version string is stored in your application as a 'tver' resource. >If you use Constructor, it will have ID 1000. Other tools use ID 1. >Just open the resource, lock down the memory, and read it out as a C >string.
This method is fine when I want to read the version, but what about the case when I want to write it. In my scenario I want to put the build number with the version. The build number is stored in a separate file and is incremented automatically at the time of build. How can I save the build number in the 'tver' resource, at build time? -AS -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Ben Combee Sent: Monday, April 15, 2002 12:35 PM To: Palm Developer Forum Subject: Re: Setting Version in Application Info number programmatically In article <83746@palm-dev-forum>, [EMAIL PROTECTED] says... > How can I set the version displayed in Application Info thru my code. I am > using CW8. The version string is stored in your application as a 'tver' resource. If you use Constructor, it will have ID 1000. Other tools use ID 1. Just open the resource, lock down the memory, and read it out as a C string. -- Ben Combee <[EMAIL PROTECTED]> CodeWarrior for Palm OS technical lead Get help at http://palmoswerks.com/ -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/ -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
