Check out AppDomain UnhandledExceptionHandler delegates
(http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlr
fSystemUnhandledExceptionEventHandlerClassTopic.asp)
> Hi
> I'm developing a com object (later used by a mfc c++ application) in C#. The
[quoted text clipped - 8 lines]
>
> thanks in advance!
Vigj - 24 Apr 2006 08:52 GMT
I tries but it does not seem to work.
looking with the debugger the value of AppDomain.CurrentDomain refers to the
Win32 c++ app...
I set the eventhandler but it is not called when an exception is thrown...
Any suggestions?
> Check out AppDomain UnhandledExceptionHandler delegates
> (http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlr
fSystemUnhandledExceptionEventHandlerClassTopic.asp)
[quoted text clipped - 11 lines]
> >
> > thanks in advance!
Vigj - 15 May 2006 16:11 GMT
at the end it worked setting
Application.ThreadException from the C# dll
> Check out AppDomain UnhandledExceptionHandler delegates
> (http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlr
fSystemUnhandledExceptionEventHandlerClassTopic.asp)
[quoted text clipped - 11 lines]
> >
> > thanks in advance!