Merlin Moncure wrote:
__try and __except, as far as I can tell are the only way to gracefully handle certain events. There is also a __finally. This is very much a Microsoft hack to C and not C++.
GetExceptionCode() is from the win32 api.
In C++, you get to use the much more standard try/catch system.
No, try/catch does not trap division by zero unless the underlying implementation throws an error there is nothing to catch.
On Unix's trap for signal SIGFPE - standard POSIX.
--
Doug Royer | http://INET-Consulting.com -------------------------------|----------------------------- [EMAIL PROTECTED] | Office: (208)612-INET http://Royer.com/People/Doug | Fax: (866)594-8574 | Cell: (208)520-4044
We Do Standards - You Need Standards
---------------------------(end of broadcast)--------------------------- TIP 4: Don't 'kill -9' the postmaster