In article <83756@palm-dev-forum>, [EMAIL PROTECTED] says...
>
> 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?
1) Remove the version number string from your Constructor resource file.
2) Have your version number generated product a version.r file in this
form:
#include <UIResDefs.r>
resource 'tver' (1000) {
"1.0"
}
3) Make sure the "Cache modification dates" feature in the CW Build
Extras panel is turned off, so the IDE will always catch your modified
file and rebuild the resource.
--
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/