Purpose
Closes all DDE conversations which were opened by the same MapBasic program.
Syntax
DDETerminateAll
Description
The DDETerminateAll statement closes all open DDE channels which were opened by the same MapBasic application. Note that multiple MapBasic applications can be in use simultaneously, and each application can open its own DDE channels. However, a given MapBasic application may only close the DDE channels which it opened. A MapBasic application may not close DDE channels which were opened by another MapBasic application.
Once a DDE conversation has served its purpose and is no longer needed, the MapBasic program should terminate the conversation through the DDETerminate statement or the DDETerminateAll statement.
Error Conditions
ERR_CMD_NOT_SUPPORTED (642) error generated if not running on Windows.
See Also:
DDEInitiate() function, DDETerminate statement