RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TAutoObjectFactory Class

TAutoObjectFactory is the class factory for TAutoObject.

Pascal
TAutoObjectFactory = class(TTypedComObjectFactory);
C++
class TAutoObjectFactory : public TTypedComObjectFactory;

ComObj

TAutoObjectFactory creates instances of the TAutoObject class, and has methods that manage the functionality of all of the instances of the automation objects it creates. 

TAutoObjectFactory inherits support for the IClassFactory and IClassFactory2 interfaces.

Note: In Delphi applications, an Automation object is a COM object, which means that the module in which it is implemented must provide a factory object so that the system can create the Automation object. To add an Automation object factory to your program, create the factory object in the initialization section of the unit that defines the Automation object. For more information about COM factories, see TComObjectFactory.
 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!