When your app is started from a card, there is a sysAppLaunchCmdCardLaunch launch code before the normal launch. You can record that fact in feature memory, for use next time the app starts up.
As part of the reset, there is a sysAppLaunchCmdSystemReset launch code when the system restarts. So the ram copy of the program can know that it is not supposed to be running. Now the problem is how does it delete itself. Best I can come up with is that you SysUIAppSwitch to a helper application with a launch code parameter block specifying the "delete me" request. Maybe there is some other way for a program to delete itself? "Mark Lussier" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > I notice, if a PRC is run from removeable storage, and while running, a soft > reset occurs, that application is left in RAM. The same is true if the > application itself programatically soft resets the Palm. > > Does anyone have a solution so as the PRC is removed? Particularly in the > case where the program itself does a soft reset. -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
