RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TComServer.Create Constructor

Creates a COM server object.

Pascal
constructor Create;
C++
__fastcall TComServer();

Applications do not need to call the constructor for TComServer. An instance of TComServer is automatically created as the ComServ variable in modules that are servers for COM objects. 

Create allocates memory for a COM server object, and initializes its IsInprocServer and StartMode properties. It is not necessary to directly call the constructor to create a COM server object. A global ComServer variable is declared in the ComServ unit and is instantiated in the initialization section. 

 

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