DDECloseConversation

Top  Previous  Next

Prototype

 

DDECloseConversation(intHandle)

 

Description

 

Closes the DDE conversation previously opened.

 

Parameters

 

IntHandle: Integer value of the handle obtained by the opening function of the conversation.

 

Returned value

 

None.

 

Notes

 

None.

 

Example

 

// opens a conversation using winword.exe program

HandleDDE:=DDEOpenConversation('c:\programs\microsoft\winword.exe','winword','system');

 

// send a command macro to the server

DDEExecute(HandleDDE,'[Open("c:\documents\test.doc")]');

 

// Close the conversation

DDECloseConversation(HandleDDE);