RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TComponentFactory.Create Constructor

Instantiates an instance of a TComponentFactory object.

Pascal
constructor Create(ComServer: TComServerObject; ComponentClass: TComponentClass; const ClassID: TGUID; Instancing: TClassInstancing; ThreadingModel: TThreadingModel = tmSingle);
C++
__fastcall TComponentFactory(TComServerObject ComServer, TComponentClass ComponentClass, const TGUID ClassID, TClassInstancing Instancing, TThreadingModel ThreadingModel = tmSingle);

Create allocates memory for a TComponentFactory object, and calls the inherited Create, passing its parameters in the same order. The ComponentClass parameter is passed cast as a TAutoClass and passed to the AutoClass parameter. 

 

Create

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!