I agree that I might not get an AppStopEvent before the system shuts down.
But what is stopping the system shutting down in  the first place ??? I can
sort the any problem with event ordering, but I cant understand why the
system wont shut down.

Rik

> -----Original Message-----
> From: Aaron Ardiri [SMTP:[EMAIL PROTECTED]]
> Sent: 18 September 2000 10:28
> To:   Palm Developer Forum
> Subject:      RE: Palm wont turn off when I catch
> sysNotifySleepRequestEvent
> 
> > I tried this but I get the same problem. It seems to be when I post an
> > AppStopEvent to close my app, my app closes but it stops the palm
> turning
> > off. If I dont post an AppStopEvent the palm shuts down, but my apps
> still
> > running. Very confusing, something somewhere is stopping the system
> shutting
> > down. I let the system handle the vchPowerOff after me so it should
> work.
> 
>   try this:
> 
> - catch chars
> - shutdown what you need (basically, do what AppStopEvent) would do..
> - pass it onto the system
> 
>   if you add the AppStopEvent event to the queue, can you be sure it is
>   placed "before" the power off? :) what you can do.. is:
> 
> - flush off all events (into a buffer)
> - add "AppStopEvent" event
> - add the events you had in the buffer..
> 
>   got what i mean?
> 
>   cheers
> 
> // az
> [EMAIL PROTECTED]
> http://www.ardiri.com/    <--- free games!
> 
> 
> -- 
> 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