COMUnloader Object

Description

This object can unload COM DLLs from the process that are no longer in use. This can allow you to delete or update a DLL that has been used and is loaded in a process.

Note that this often works intermittently with IIS.

Methods

UnloadUnusedCOMDLLs

Example

Set cu = CreateObject("Toolsack.ComUnloader")
Set x = CreateObject("YourObjectProgID")
x.dosomething
Set x = Nothing
 
MsgBox "You can't delete or change your com DLL"
cu.UnloadUnusedCOMDLLs
MsgBox "The DLL should be released now."
 

Samples

Articles



We always want to hear your feedback. Send to feedback@toolsack.com.
© 2000-2001 Toolsack Software Ltd.