System.Win.VCLCom.TComponentFactory.CreateComObject
Delphi
function CreateComObject(const Controller: IUnknown): TComObject; override;
C++
virtual System::Win::Comobj::TComObject* __fastcall CreateComObject(const System::_di_IInterface Controller);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | System.Win.VCLCom.pas System.Win.VCLCom.hpp |
System.Win.VCLCom | TComponentFactory |
Description
Instantiates a VCL COM object.
If a Controller
is specified, it is used as the controller of your new instance of TComponentFactory. Controller
is either a control object, if the object is part of an aggregate, or nil if it is not.