CoFreeUnusedLibraries

void CoFreeUnusedLibraries(void)

This function and unloads any .DLLs that have been loaded as a result of COM object creation calls but which are no longer in use. Client applications can call this function periodically to free up resources.