What can i do about an ObjectDisposedException in a dll i cannot access?

Posted by djerry on Stack Overflow See other posts from Stack Overflow or by djerry
Published on 2010-05-20T12:05:16Z Indexed on 2010/05/20 12:20 UTC
Read the original article Hit count: 442

Filed under:
|
|

Hey guys,

I'm using a dll to monitor calls (Atapi.dll). Sometimes when events occur, there's an ObjectDisposedException. This seems to be random, i don't know what causes it. I can't debug it and i don't have the source code to it. The events that cause the exception are call events (conencting calls) through Tapi 2.0.

It does not causes my app to crash. If i press on the continue button of the window visual studio is generating, the app continues ignoring the exception, but i'd rather not see it happening.

I tried catching all code (not much) i have writting, but nothing catches it, and it also says i cannot debug it, because it is thrown in the dll.

Does anyone have any idea how to solve or get pass this obstacle?

Thanks in advance.

© Stack Overflow or respective owner

Related posts about c#

Related posts about dll