destroying interop Dll How??

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi

Now that I´m using an interop dll in my VB.NET code, how can I destroy it?

thanks
 
What do you mean by "destroy the dll"? Do you want to destroy the objects
belonging to the interop dll? If its a COM object, you can call
Marshal.ReleaseComObject to release the COM object and then set the object
variable to nothing to get rid of it. Take a look at the documentation
for the details involved in calling ReleaseComObject.

hope that helps..
Imran.
 
yeah thats basically what I wanted to do, release tha com object and release
the local instance of the COM object

thanks
 
Back
Top