RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TDCOMConnection.DoConnect Method

Connects to an application server.

Pascal
procedure DoConnect; override;
C++
virtual __fastcall DoConnect();

DoConnect is called when the Connected property is set to true. DoConnect establishes a dual interface with the remote data module on the application server. This interface is used to locate providers on the application server. 

To locate the server system, DoConnect uses the ComputerName property. If the ObjectBroker property is set, DoConnect gets this value from the object broker. Otherwise, the application must assign this property a value directly. 

 

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