I have a DLL created from native c++(say XYZ.dll). I link against that DLL in a wrapper that is C++ .NET. An object of this wrapper is used in my highest level C# code.
My question is: sometimes a function in my DLL crashes and my highest level C# code crashes with AppCrash; crash module: XYZ.dll. I am trying to figure our where it is crashing my native C++ code, but that is proving to be fruitless. I was wondering if there was a way for me to catch this crash in my C# code and move on.