Hi All,

I have a third party DLL I use to access their application. I create a object referencing their DLL use it clean up the object. But I still have the DLL locked even after the clean up. I have also place the function calling the DLL into another class, and then I called my class, which called the third party DLL and still I can't unlock the DLL. The last thing I did was to try and put my class that called the third party DLL as part of an AppDomain. I unloaded the domain and still the DLL was lock.

Can anyone give me a pointer on how to call a DLL but then have it not be locked after I am done using the functions in it.

Thanks Steve