RAD Studio VCL Reference
|
TComServer = class(TComServerObject);
class TComServer : public TComServerObject;
ComServ
TComServer is the class type used for a COM server, which is a module that contains COM or OLE class definitions. That module can be either an in-process server (DLL) or a local server (EXE).
TComServer properties contain all necessary information about the server, such as its type library, name, Help file, and so on. They also indicate when and how the server should be loaded and unloaded.
TComServer methods are used
To access TComServer properties.
To create associated class factories to instantiate the COM and OLE classes based upon their class identifier (CLSID).
To update the registry database with information about the COM and OLE classes.
TComServer is the type of the ComServ variable that is automatically instantiated in the ComServ unit. Each module that is created as a server for COM objects has its own instance of ComServ.
To manage its class factories, the ComServer uses a TComClassManager object, which is accessed using the ComClassManager function in the ComObj unit. The class factories are used primarily by calls to TComClassManager methods.
ComClassManager
ComServer
DllCanUnLoadNow
DllGetClassObject
DllRegisterServer
DllUnregisterServer
Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
|
What do you think about this topic? Send feedback!
|