ErrFatalDisplay and ErrDisplay ultimately cause a soft reset. Thats the only way to be 
real safe you are clening up when making an
emergency stop.

The real dream request would be an exception-handling mechanism. Did anyone here write 
one, using setjmp/longjmp?

Akash Garg wrote:

> I am trying to exit an application when I detect an error, but I want the
> StopApplication function to be called before exit so that the appropriate
> cleanup can take place.  I tried creating an appStop event and then placing
> that into the queue.  However, the app doesn't exit immediately because it
> isn't currently in the event loop.  I've read various postings about how to
> exit cleanly, such as using ErrFatalDisplay, but this function doesn't call
> the AppStop function.
>
> Thanks,
> Akash
>
> --
> For information on using the Palm Developer Forums, or to unsubscribe, please see 
>http://www.palm.com/devzone/mailinglists.html

--
Sergio Carvalho
---------------
[EMAIL PROTECTED]
[EMAIL PROTECTED]

If at first you don't succeed, skydiving is not for you



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palm.com/devzone/mailinglists.html

Reply via email to