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

Reply via email to