System.Win.ComObj.TAutoObjectFactory

From RAD Studio API Documentation
Jump to: navigation, search

System.Win.ComObj.TTypedComObjectFactorySystem.Win.ComObj.TComObjectFactorySystem.TObjectTAutoObjectFactory

Delphi

TAutoObjectFactory = class(TTypedComObjectFactory)

C++

class PASCALIMPLEMENTATION TAutoObjectFactory : public TTypedComObjectFactory

Properties

Type Visibility Source Unit Parent
class public
System.Win.ComObj.pas
System.Win.ComObj.hpp
System.Win.ComObj System.Win.ComObj

Description

TAutoObjectFactory is the class factory for TAutoObject.

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.

See Also