RAD Studio VCL Reference
|
Indicates why the COM server was started.
property StartMode: TStartMode;
__property TStartMode StartMode;
StartMode indicates the reason a COM server was started. It can be started as a stand-alone application, as an interactive application, as an embedded object, or for registration or unregistration with the system Registry.
TComServer is the type of the StartMode property, indicating the different reasons why an OLE automation server can be started.
The following table explains each of the possible start-mode values and the command-line switch that corresponds to each.
Start mode |
Switch |
Meaning |
smAutomation |
embedding |
The application was started by Windows in response to a request from an automation controller. |
smRegServer |
regserver |
The application was started only to add the server to the system registry. |
smStandalone |
-
|
The user started the application as a stand-alone, interactive application. |
smUnregServer |
unregserver |
The application was started only to remove the server from the system registry. |
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
|
What do you think about this topic? Send feedback!
|