UnloadAllCOMLibs

Categories

file

Description

This command unloads any COM dlls (ActiveX) that are no longer used by Softimage, allowing add-on developers to compile a COM dll while in use in Softimage. This command only affects ActiveX dlls, not Softimage add-on libraries such as Custom Commands, Operators etc.

The dll project implementing the COM object must implement and export the DllCanUnloadNow function in order to be freed by UnloadCOMLibs. See your compiler documentation for more details about DllCanUnloadNow.

Scripting Syntax

UnloadAllCOMLibs();

Examples

VBScript Example

'
' This example unloads unused COM dll libraries
'
UnloadAllCOMLibs

See Also

UnloadAddonLib UnloadAllAddonLibs ReloadAddonLib ReloadAllAddonLibs