The DDE Extension

DDE (Dynamic Data Exchange) is a communication protocol used among Windows applications. The protocol exchanges data with a server identified by name. Each service implements a number of operations known as topics. The data exchange can be synchronous or asynchronous. The dde command is implemented as an extention that is distributed with Tcl. You must use package require dde to load the extension. The dde command is summarized in Table 52-2

Table 52-2. The dde command options.
dde servername ?topic?Registers the current process as a DDE service with name TclEval and the given topic. If topic is not specified, this command returns the currently registered topic.
dde ?-async? execute service topic dataSends data to the service ...

Get Practical Programming in Tcl & Tk, Third Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.