Cicode Programming Reference > Cicode Function Categories > Dynamic Data Exchange Functions Introduction > DDEhTerminate

DDEhTerminate

Closes the conversation identified by the handle, and frees the resources associated with that conversation. After you call this function, the handle is no longer valid.

With Network DDE, you might need to terminate and re-initiate a conversation. For example, if you delete rows on an MS Access sheet, the deleted rows display as #DELETED until you terminate and re-initiate the conversation.

Syntax

DDEhTerminate(Handle)

Handle:

The integer handle that identifies the DDE conversation, returned from the DDEhInitiate function.

Return Value

0 (zero) if successful, otherwise an error is returned.

Related Functions

DDEhInitiate, DDEhExecute, DDEhPoke, DDEhRequest, DDEhGetLastError

Example

See DDEhInitiate

See Also

DDE Functions