I learned about Visual C++ Structured Exception Handling (SEH) recently. I am considering implementing it, but my code is supposed to be as cross plat ...
I learned about Visual C++ Structured Exception Handling (SEH) recently. I am considering implementing it, but my code is supposed to be as cross plat ...
The documentation for _EXCEPTION_RECORD says about one of it's members, struct _EXCEPTION_RECORD *ExceptionRecord A pointer to an associated EXCEP ...
I need to make sure the header I'm using is compiled with the /EHa compiler switch? How can I do that? ...
My end goal here is to provide a means to catch a floating-point exception, print a stack trace, and resume execution with floating point exceptions d ...
I am attempting to write an unhandled exception filter ( see SetUnhandledExceptionFilter()) to use with Windows SEH to report invalid floating point o ...
I am writing some x64 assembly for the GNU assembler. I've been trying to read about the .seh_* directives, but I'm not finding much information about ...
In the following code, the function foo calls itself recursively once. The inner call causes an access violation to be raised. The outer call catches ...
My COM server implemented in Visual C++ uses a ton of other C++ code. That other C++ code sometimes wraps code in __try-__except and translates struct ...
I have a large-ish Win32 program that I'm maintaining, and I'd like to instrument it to automatically and unconditionally generate a minidump file whe ...
Usually an access violation terminates the program and I cannot catch a Win32 exception using try and catch. Is there a way I can keep my program runn ...
I'm looking at modifying the MS structured exception-to-exception mapping code we have to use the new C++11 error_code/error_condition/exception mecha ...
I need to translate structured exceptions manually, using the current translator. How do I 'get' the value someone has set by _set_se_translator? ...
Why can't 64-bit Windows unwind the stack during an exception, if the stack crosses the kernel boundary - when 32-bit Windows can? The context of thi ...
I'm writing small utility (VC 2010, no clr) that does one simple task (rasterizing) using 3rd party library. Later utility will be used by bigger appl ...
I have a function in which I call getaddrinfo() to get an sockaddr* which targets memory is allocated by the system. As many may know, you need to cal ...
I have a Visual Studio 2008 C++ program where the program is wrapped in a __try/__except block to capture any SEH exceptions. The exception filter cre ...
I see Doug Harrison has made a good statement of what is "wrong" with using (i.e. catching) structured exceptions (see question #3). But what other co ...
I've got code that calls ::fgetpos, which results in a kernel exception that can't be caught (I have option /ehs in my VS 2008 project). But I can't h ...
MSDN describes UnhandledExceptionFilter as follows: "An application-defined function that passes unhandled exceptions to the debugger, if the process ...
What important points about Structured Exceptions should every C++ developer know? ...