System.Win.ComServ.TComServer.Create
Delphi
constructor Create;
C++
__fastcall TComServer();
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
constructor | public | System.Win.ComServ.pas System.Win.ComServ.hpp |
System.Win.ComServ | TComServer |
Description
Creates a COM server object.
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.