Hi!

I would like to use a try-catch mechanism in my C++ Palm programs (I
develop a lot in Java on other platforms). The Palm OS Companion
document states:
> "The error manager is aware of the machine state of the Palm OS
> device and can therefore correctly save and restore this state. The
> built-in try and catch of the compiler can�t be used because it�s
> machine dependent."
Is this referring to the try-catch of the C++ compiler? I see that
several available C++ sources (like the Teenee library) are using native
try-catch quite extensively.
Can both try-catch mechanisms (that of the error manager, and the native
compiler mechanism) be used in C++ programs (I don't want to mix them,
just pick one and go with that)?
Also, will using the ErrorManager's ErrTry/ErrCatch save me a lot of
code size? I see that using C++ exceptions with PRC-Tools pulls in a
huge exception handling library :-((

Cheers,
Tilo Christ




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