On Mon, 24 Dec 2001, I wrote: > I've got another that I'd like to get some input on before I try it. I > could register another creator ID for the new name, and when the new app > got the sync notification or was started normally, it could migrate the > databases (using DmSetDatabaseInfo) and preferences to the new creator > ID. Then I'd just need to tell the user to start the new app at least > once before they delete the old one, for good measure.
This one works, but not on a sync notification for some reason... it blows up with a fatal exception. I'm not using any global variables in the migration code, so I can't really figure that one out. The good news is that it works flawlessly during a normal start of the application. When the app starts, it changes the creator ID of all databases having the old creator ID (deleting the application database) and moves the preferences record over as well. As far as documenting it for installation, I can just say to start up the new app after installing to migrate things over and all will be cool. If they delete the old app first, then oh well... Thanks for the help, guys. ---------------------------------------------------------------------- Brian Smith // [EMAIL PROTECTED] // http://www.arthurian.nu/ Software Developer // Gamer // Webmaster // System Administrator All I want is a kind word, a warm bed and unlimited power. -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/
