CanUnloadLibrary Method [Deprecated]

This function checks whether all objects returned by the library are destroyed.
Syntax:
bool CanUnloadLibrary();
Return value:

The method returns true, if all objects that were returned by the library are destroyed. If one or more objects are still alive, false is returned.

Remarks:

CanUnloadLibrary can be used to determine the best time to unload the library (e.g. for COM objects).

Information:

Introduced in version 2.0
This method is deprecated since version 3.5.

<< Functions