>  > From: =C5sa Godin [mailto:[EMAIL PROTECTED]]
>  > is it possible / recommended or not to use C++ exception handling
>  > with try/catch when developing for PalmOS?

In addition to the two issues Scott mentioned, there are also 
problems with throwing exceptions "through" Palm OS code (at least 
with CodeWarrior's "zero overhead" exception mechanism).

In the example below, if you throw an exception from the form event 
handler that's executing as a result of the call to FrmDispatchEvent, 
your catch block doesn't get executed.

try {
        FrmDispatchEvent(theEvent);
} catch (...) {
        // Never gets executed.
}

-- Ken

Ken Krugler
TransPac Software, Inc.
<http://www.transpac.com>
+1 530-470-9200

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