I did something like it. In Constructor, I un-checked "Generate App
Resources". Then I created myversion.h, which includes:
#define PROG_NAME "MYPROG"
#define PROG_VERS "0.6"
then, I created myversion.r, which has:
#include "myversion.h"
data 'tAIN' (1) { PROG_NAME $"00" };
data 'tver' (1) { PROG_VERS $"00" };
Then, I added the 2 files to the projec, and made sure that File Mappings
has Rez associated with .r files. It does the right ting, and my program
has the same notion ov version info (a string) as the App->Info does.
To automate, maybe you could write a program that looks for a key word like
"PROG_VERS" in .h files, and increments the value. Then map .h files to
your program. It might need to chain to the original compiler, in my case
"MW C/C++ 68K".
///\\\///\\\///\\\///\\\///\\\///\\\///\\\///\\\///\\\///\\\///\\\
Joe Wronski direct: 781.237.2233 FitSense Technology
[EMAIL PROTECTED] main: 781.237.6667 212 Worcester Street
http://www.fitsense.com fax: 781.237.6669 Wellesley, MA 02481
\\\///\\\///\\\///\\\///\\\///\\\///\\\///\\\///\\\///\\\///\\\///
> -----Original Message-----
> From: David Fishburn [mailto:[EMAIL PROTECTED]]
> Sent: Friday, October 29, 1999 1:15 PM
> To: 'Palm Developers Forum List'
> Subject: RE: Application version #
>
>
> I didn't have any responses to this, just trying again..
>
> > -----Original Message-----
> > From: David Fishburn [mailto:[EMAIL PROTECTED]]
> > Sent: Monday, October 25, 1999 11:07 AM
> > To: 'Palm Developers Forum List'
> > Subject: Application version #
> >
> >
> >
> >
> >
> > Good Morning.
> >
> > In the applications screen, if you select Menu->Info and choose the
> > Version button you will see the version of all installed
> applications.
> > This value comes from the data you entered in the constructor.
> >
> > Since I am trying to automate this a bit and include a build number,
> > is there a way to programatically change this the first time the
> > application is started?
> >
> > If so, can someone supply some code.
> >
> > Do people do this in other ways?
> >
> > Thanks,
> > David Fishburn
> >
> >
>
>
>