Messenger Plus! Live - Scripting Documentation

The Interop::FreeDll function unloads a DLL previously loaded by a call to Call or Call2.

Syntax

FreeDll(
    [string] DllName,
);

Parameters

DllName
[string] Path to the DLL file to unload. This must be the exact same string that was sent in Call.

Return Value

No value is returned by this function.

No error is returned and the function does nothing if the DLL was not currently loaded by the script.

Remarks

Scripts don't have to call this function if they don't have a particular reason for unloading the DLL. Also, note that the DLL will not be unloaded if it used by Windows Live Messenger, Messenger Plus! or another script. Calling FreeDll multiple times for the same DLL does not have any effect and won't lower down its  reference count.

If a DLL is unloaded and Call is called again for the same library, it is automatically loaded back.

Function Information

Object Interop
Availability Messenger Plus! Live 4.00

See Also

Interop Object, Call.