Handling Unhandled Exception in DotNet



Hi,
i'm loading a third party unmanaged dll in my dot net application.
the dll doesn't have a try catch block for any of the functions
declarations . When a method in the dll is called by the dot net
application, the dll creates a thread and for some reason the thread
throws a access violation exception.

The third party vendor who provided the DLL isn't ready to fix the bug
as its not happening in their C++ application.

Now in my dot net application how do i handle this issue. i tried
using the AppDomain.UnhandleException event; but its not handling the
AV exception and my Application always crashes with the crash info.

i don't want the application to crash and it has to run continuously.

how do i achieve this.

i would appreciate if someone can help me on this.

Thanks
Regards,
Aswin.N.Paranji
.



Relevant Pages

  • Re: Call .Net Method from VC++
    ... Tom Shelton ... to Dot Net dll as you told in your blog. ... typedef int ... folder and other two DLL(C++ and dot net) in B-Folder ...
    (microsoft.public.dotnet.languages.vb)
  • Re: Question
    ... new Class Library project and the output will be a .dll, ... Dib wrote: ... > Can you create a dll file through DOT net? ...
    (microsoft.public.dotnet.general)
  • .Net framework security Problem
    ... net.Actually i have a dot net Windows User control embedded in a web ... page (dot net ActiveX).Its working on my system but when the web page ... There are no errors reported in the Temporary Internet Files. ... Unable to load the dll in mscorcfg.msc ...
    (microsoft.public.dotnet.security)
  • Re: Call .Net Method from VC++
    ... to Dot Net dll as you told in your blog. ... typedef int ... search for the Dll into Temp folder. ... folder and other two DLL(C++ and dot net) in B-Folder ...
    (microsoft.public.dotnet.languages.vb)
  • Re: How Can You Create A DLL In VB.NET For VB6?
    ... Yes you can write com compatible DLL withj dot net (dll class, ... > required to implement the same functionality in the vb6 app. ...
    (microsoft.public.dotnet.languages.vb)