Datasnap.Win.MConnect.TCOMConnection
Delphi
TCOMConnection = class(TDispatchConnection)
C++
class PASCALIMPLEMENTATION TCOMConnection : public TDispatchConnection
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
class | public | Datasnap.Win.MConnect.pas Datasnap.Win.MConnect.hpp |
Datasnap.Win.MConnect | Datasnap.Win.MConnect |
Description
TCOMConnection is the base class for components that connect to application servers using DCOM or OLE.
Do not create instances of TCOMConnection. Instead, use TCOMConnection as a base class when created a custom component that forms a COM-based connection to an application server.
TCOMConnection adds to the ability to work with COM objects to the generic connection capabilities inherited from TDispatchConnection. It has two descendants: TDCOMConnection, which creates and manages connections using DCOM, and TOLEnterpriseConnection, which is provided for backward compatibility and handles connections using OLEnterprise.