I'm using a 3rd party dll written in C# in a WPF application. That dll that I am using, references some unmanaged C++ dlls and I am trying to debug a problem where my application just exits. There are no errors, nothing in my windows event log, so I am assuming something somewhere is making a call to Exit. I want to try and intercept the call to confirm my suspicions, but have not been able to.
I have a callback in App.xaml for the Exit event, but its not firing...
Is there anything else I can do to try and "catch" this exit call?