search for: myaccessviolationexception

Displaying 1 result from an estimated 1 matches for "myaccessviolationexception".

2001 Jul 11
1
Porting MS Structured Exception Handling to Linux.
...s "signal" to a user defined exception object. 2. call the Windows API function _set_se_translator(translateException). 3. when a OS trap -- like an access violation -- occurs the specified function will be called. 4. From within the body of that function a user defined exception object (MyAccessViolationException) can be thrown which can be caught anywhere in the offending stack frame. e.g. try { int* pNull = 0; *pNull = 12; } catch (MyAccessViolationException& e) { printf ("success.\n"); } Having researched the web, I have taken the followign approach: When I receive a SIGSEGV...