RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TComClassManager Class

TComClassManager is the class type of the ComClassManager variable in the ComObj unit.

Pascal
TComClassManager = class(TObject);
C++
class TComClassManager : public TObject;

An instance of TComClassManager is returned by the ComClassManager function in the ComObj unit. This instance of TComClassManager manages the class factory objects owned by COM servers. 

TComClassManager is a class designed for internal use to keep track of class factories. 

For all servers linked to the module containing this unit, the manager returned by ComClassManager maintains a list of pointers to the class factory objects. This list is updated by the individual COM servers, which add class factories objects when they are created and delete them when they are destroyed. The ComClass manager has methods that are used to manipulate class factories based upon their associated servers. These methods process iterative actions on factories or return factories based upon the class object type they create. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!