System.Win.ComObj.TTypedComObject.Create

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

constructor Create;

C++

__fastcall TTypedComObject();
__fastcall TTypedComObject(const System::_di_IInterface Controller);
__fastcall TTypedComObject(TComObjectFactory* Factory, const System::_di_IInterface Controller);

Properties

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

Description

Instantiates a COM object that is not part of an aggregate.

System.Win.ComObj.TTypedComObject.Create inherits from System.Win.ComObj.TComObject.Create. All content below this line refers to System.Win.ComObj.TComObject.Create.

Instantiates a COM object that is not part of an aggregate.

Call Create to instantiate a COM object that is not part of an aggregate, at runtime.

Create allocates memory for a COM object, and then directly calls the CreateFromFactory constructor, passing it nil as the Controller parameter to indicate that the COM object is not being created as part of an aggregate.

See Also