Using DmDatabaseInfo and checking crDateP won't get you the date the
application was installed onto the PalmOS device. It *will* return the build
date (the date/time that the .prc database was created). I was attempting to
use this method to determine the date when the app was installed and learned
that this was not the case. It was when the app was built. Verified it by
rebuilding several times and checking the date/time.
I haven't found a reliable way to get when the app was installed. In my
case, I create another database when my app gets installed so I just check
against that date.
==============================================
Alan Johnson
handsbreadth
[EMAIL PROTECTED]
www.handsbreadth.com
> > Thank to everybody answered about application "version string",
> > but questions are piling up.
> > Is it possible to obtain dates when application was build and
> when it was
> > installed on Palm.
>
> You can't get a build date reliably, but the creation date in the
> application database should tell you when the app was installed on the
> device. You can retrieve this by getting a LocalID for the application
> database, then calling DmDatabaseInfo(). The returned value in "crDateP"
> should be the time the database was created, which will usually be when it
> was installed on the device.
>
> Ben Combee
> Veriprise Wireless <http://www.veriprise.com>
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/