Wednesday, October 1, 2014

Throwing exceptions across dll boundaries in C#

It is safe to throw a .NET Exception across a DLL boundary. But I'm highly suspicious that your exception is arising from the C++ code secondary to a heap corruption. You need to analyze your C++ code for a memory corruption problem... e.g. mismatched malloc/free and new/delete pairs, buffer overruns, etc.


No comments:

Post a Comment