try/catch at the compiler level only know about C++ exceptions, not any
machine-specific exceptions.  If you only need them for C++ purposes, then
you should be able to use them with no problem, but if you're trying to do
something like how VC++ lets you "catch" an operating system error, you're
out of luck.

----- Original Message -----
From: "Tilo Christ" <[EMAIL PROTECTED]>
Newsgroups: palm-dev-forum
To: "Palm Developer Forum" <[EMAIL PROTECTED]>
Sent: Thursday, September 21, 2000 3:38 AM
Subject: Try-Catch in C++


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




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