DDEDisconnect

Terminate access to the remote application.

Syntax

procedure DDEDisconnect (out tErrCode, inout tServ)

Parameters

tErrCode

longint, an error code

tServ

longint, connection handle

Comments

DDEDisconnect terminates the access to the remote application.

The filename is ddedisc.pgm.

Example

For example, given that DDE_Err and hServ are of type longint and that hServ has been set by a previous call to DDEConnect, enter the following to terminate a DDE conversation:

DDEDisconnect (DDE_Err, hServ)

This example ends a conversation previously established using the CONNECT service.