I am confused

Started by
10 comments, last by griffin2000 17 years, 9 months ago
I didnt find where to enable SEH in visual 2003.
But I do have EHac enabled.
Why do I need the first and not the later?
My code for handling windows exceptions is:
static void se_translator (unsigned int e, PEXCEPTION_POINTERS p){	WindowsError WinErr;	WinErr.Ptr = p;	throw WinErr;}
It's all about the wheel.Never blindly trust technoligy.I love my internal organs.Real men don't shower.Quote:Original post by Toolmaker Quote:Original post by The C modest godHow is my improoved signature?It sucks, just like you.
Advertisement
Another thing I've found is that SIMD instructions do not raise floating point exceptions. If the complier is implementing you floating point code with SSE instructions they will not raise exceptions.


Also you may need to explictially turn on FP exceptions in your code with _controlfp (this is slow so should only be done in debug mode).

Edit: Actually I didn't read the OP properly I don't think these comments apply :)

This topic is closed to new replies.

Advertisement