SHDocVw.TShellUIHelper.Connect

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure Connect; override;

C++

virtual void __fastcall Connect();

Properties

Type Visibility Source Unit Parent
procedure
function
public
SHDocVw.pas
SHDocVw.hpp
SHDocVw TShellUIHelper

Description

Establishes a connection to the COM server.

SHDocVw.TShellUIHelper.Connect inherits from Vcl.OleServer.TOleServer.Connect. All content below this line refers to Vcl.OleServer.TOleServer.Connect.

Establishes a connection to the COM server.

Call Connect to connect the Connect component to the COM server it represents. If the AutoConnect property is True true, the Connect component automatically calls Connect when the application is first run.

Do not use Connect if the value of ConnectKind is ckAttachToInterface. When attaching to an interface, use the ConnectTo method, which is introduced by descendant classes, instead.

If the value of ConnectKind is ckRemote, the RemoteMachineName property must be set before calling Connect.

Connect introduces Connect as an abstract a pure virtual method. Descendant classes must override this method to let the Connect component connect to a specific type of COM server.

See Also