At 20:48 2003-2-7 -0500, you wrote:
There is an ErrTry, ErrThrow, and ErrCatch mechanism for Palm.  See the Palm
OS API Reference manual for specifics.  They work similarly to the C++
mechanism, but don't introduce the overhead.
True, there is little overhead, but you don't get the destructor-calling benefits of C++ exceptions. This can leave resources stranded if you use this mechanism with C++ apps. ErrTry/ErrThrow/ErrCatch are basically macro wrappers around C's setjmp/longjmp library calls.

--
Ben Combee <[EMAIL PROTECTED]>
CodeWarrior for Palm OS technical lead
Palm OS programming help @ www.palmoswerks.com

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


Reply via email to