RAD Studio VCL Reference
TComObject.Create Constructor

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

constructor Create;
__fastcall TComObject();

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. 


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