Hi,

I have been catching when the Palm switches off by registering to notify the
sysNotifySleepRequestEvent, which gives me a launch code when the Palm
switches off, however the Palm does not switch off. I started using
sysNotifySleepNotifyEvent which worked, but my exit code did not finnish
running before the Palm switched off, and finnished the next time it
switched on. Now when I switch the Palm off it goes back to the screen
running before the App was launched. As far as I can see I am not deffering
sleep. Ive even tried posting a resume sleep char just in case,but it still
dont work. Any ideas ???

I am actually trying to close my app on the power off button and finnish
running all my tidy up code before the thing actually turns off. This is
important that my code fully ends before power off.

Thanks

Rik

-- 
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