RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCOMConnection Class

TCOMConnection is the base class for components that connect to application servers using DCOM or OLE.

Pascal
TCOMConnection = class(TDispatchConnection);
C++
class TCOMConnection : public TDispatchConnection;

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. 

 

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