RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TComObject.Create Constructor

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

Pascal
constructor Create;
C++
__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) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!