views:

31

answers:

0

Hi there,

I have been struggling with unhandled fatal exceptions within an application that uses an external COM library. Enabling unmanaged code debugging magically turns the indescript fatal exceptions into well-defined, catcheable, exceptions.

I can now go ahead and change my code so that these exceptions never occur, but is there not a way to keep these exceptions catcheable/non-fatal in a release build in case there are some that I am not aware of that creep up later?

In other words, I want to be able to create a release build that acts like the app does when enable unmanaged code debugging is turned on (catches the COM exception and logs it).

Thanks for your help in advance

PS: I am forcing the app to compiled in x86. I am using Visual Studio 2008 on 64bit windows 7. dotNET 3.5.