>I should have known better especially after writing so much hardware
>exception handling in VC++. At the risk of asking another stupid
>question.....Can you suggest a procedure or method of handling/trapping
>these type of exceptions from the application?
Oh, you're going to hate this:
int x=5,y=0;
if (y != 0)
{
x /= y; // force divide by zero
}
else
{
MyErrDisplay ("Can't divide by zero!");
}
Or you can just let Poser display the error messages. But short of
installing a DivideByZero hardware exception handler (something not
supported by the OS), there's no way to install an
application-defined handler.
--
-- Keith Rollin
-- Palm OS Emulator engineer
P.S. Check out the new e-mail address. [EMAIL PROTECTED] will work
for a while, but anyone mailing me needs to update to the new one
eventually.
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/