Sigh... And the solution is: there is no solution. Yep, folks, it's yet another case of "you can't do that" that Palm OS is so full of. :-((
In this particular case, it seems that you cannot change the attributes or delete a database that is about to be launched from a hack that has intercepted the SysUIAppSwitch system trap under Palm OS 3.x-4.x. If you do, the Launcher gets screwed up. I reverse-engineered the program of the competition that seemed to be doing it and discovered that it isn't really doing it. What it is doing, is saving in a saved preference the dbID of the unwanted database. Then, at reset time, it checks whether there is a saved dbID in the preferences and, if there is one, deletes the database with this dbID. (Remember, this is Palm OS 3.x-4.x, so the NVFS issue of the database ID not being constant doesn't enter into play.) Regards, Vesselin -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
