Thanks - at least I know I can't catch it before hand.
At least I can catch when someone is tearing out the batteries or pulling my card out 
of their slot.  :)

[EMAIL PROTECTED] wrote:

> > My goal is to have my App get its databases into a safe state before the
> > reset occurs and the current information is lost.
>
> I think that the general approach is to make sure that your application is never
> too far from a consistant state.  A reset can occur at any time if someone
> sticks a pin in the back of the device.  When that happens, there is NO warning.
> The hardware is reset, the program counter is re-initialized, and the device
> boots.
>
> -- Keith Rollin
> -- Palm OS Emulator engineer
>
> DIAMOND JEFF <[EMAIL PROTECTED]> on 03/08/2001 12:02:12 PM
>
> Please respond to "Palm Developer Forum" <[EMAIL PROTECTED]>
>
> Sent by:  DIAMOND JEFF <[EMAIL PROTECTED]>
>
> To:   "Palm Developer Forum" <[EMAIL PROTECTED]>
> cc:    (Keith Rollin/US/PALM)
> Subject:  Is is possible to hook a RESET beforehand?
>
> I realize that the app receives a sysAppLaunchCmdSystemReset AFTER a
> soft reset has taken place.
>
> But is there any method to detect that a reset is occuring before it
> actually happens?  (App RESET notification)
>
> For example. right before the power goes out, the app gets a
> vchrPowerOff or vchrAutoOff event.
> Anything like this for a RESET?
>
> My goal is to have my App get its databases into a safe state before the
> reset occurs and the current information is lost.
>
> Thanks!
> - Jeff
>
> --
> For information on using the Palm Developer Forums, or to unsubscribe, please see 
>http://www.palmos.com/dev/tech/support/forums/


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

Reply via email to