RAD Studio VCL Reference
|
Instantiates a COM object that is part of an aggregate.
constructor CreateAggregated(const Controller: IUnknown);
__fastcall TComObject(const IUnknown Controller);
Call CreateAggregated to instantiate a COM object that is part of an aggregate by passing it the IUnknown control object as the Controller parameter.
CreateAggregated allocates memory for a COM object and then calls the CreateFromFactory constructor. Because the newly instantiated COM object is part of an aggregate, CreateAggregated passes Controller to CreateFromFactory as its Controller parameter. Controller also becomes the value of the Controller property of the COM object.
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
|
What do you think about this topic? Send feedback!
|