> I was thinking about bumping the version number of the new application
> to a higher value, keeping the same name and creator ID, and using
> DmGetNextDatabaseByTypeCreator() to get to the "older" app.

The Install conduit will overwrite the existing database in this situation.
If you don't want it to do this, give your new database a different database
name. The creator IDs can still be the same. Your new version can look for
the old version on sysAppLaunchCmdSyncNotify. If it finds it, it can delete
it and correct the data format. You might want to delay this action using an
alarm to avoid potential problems with modifying a collection being
enumerated. Your app can change its own database name after being installed
if you want to end up with the same database name. The user doesn't see the
database name anywhere, so it doesn't really matter. Again, I'd delay this
change with an alarm.
--
Danny

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

Reply via email to