'KCMLDdeInit()

Registers KClient as a DDE client application with the Windows DDE manager.

Deprecated

This function is deprecated and may be removed in a future release.

Arguments

The function takes no arguments.

Returns

This function returns TRUE on success, or FALSE on failure.

Syntax

The following definition is built into KCML. You do not have to include it in your own code.

$DECLARE 'KCMLDdeInit()

Remarks

This function will register KClient as a DDE client application with the Windows DDE manager. Once this has been done, KClient can initiate DDE conversations with other Windows applications. This function will be called automatically if a call is made to start a DDE conversation (using the KCMLDdeOpen function).

Once an application has finished using DDE, the function KCMLDdeDestroy should be called to unregister Kclient as a DDE client application.

Example

The following code excerpt registers Kclient as a client DDE application.

ret = 'KCMLDdeInit()
IF ret == 1 THEN PRINT "Success" : ELSE PRINT "Failed"

Further Information

IntroducedKCML 5.00
CompatibilityKClient

See Also

KCMLDDEServerInit, KCMLDdeAddTopic, KCMLDdeClose, KCMLDdeDestroy, KCMLDdeExec, KCMLDdeLoad, KCMLDdeOpen, KCMLDdePoke, KCMLDdeRequest

Index of internal $DECLARE functions