DDETerminateAll statement - MapBasic - 2023

MapInfo MapBasic Reference

Product type
Software
Portfolio
Locate
Product family
MapInfo
Product
MapInfo > MapBasic
Version
2023
Language
English
Product name
MapBasic
Title
MapInfo MapBasic Reference
First publish date
1985
Last updated
2023-09-12
Published on
2023-09-12T16:32:32.686312

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