-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I'm trying to use code similar to clrdump to create mini dumps in my managed process.
This managed process invokes C++/CLI code which invokes some native C++ static lib code, wherein SEH exceptions may be thrown (e.g. the occasional access violation).
C# WinForms
->
C++/CLI DLL
…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Could someone provide some example on implementing SEH in VB6? Everything I've seen so far is in C++
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Following situation: I'm developing an windows mobile application using the sdk 6. Target machine is a nautiz x7. To improve the error reporting I want to catch the structured exceptions (SEH) and do a stack backtrace to store some information for analysis.
So far I have the information where the…
>>> More
-
as seen on Programmers
- Search for 'Programmers'
Why standard C++ doesn't respect system (foreign or hardware) exceptions?
E.g. when null pointer dereference occurs, stack isn't unwound, destructors aren't called, and RAII doesn't work.
The common advice is "to use system API". But on certain systems, specifically Win32, this doesn't work. To…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
When we use SEH with __finally block,
if we do return in __try block, it causes a local unwind.
To Local unwind, the system need to approximately 1000 instructions.
The local unwind causes a warning C6242. MSDN suggests using __leave keyword(with saving a return value).
But I don't think it's a…
>>> More