Specifications

Python
A-11
••••••••
Execute(connection, command_string[, timeout])
Send a command to the connected DDE peer, usually a server. The
timeout is default set to 25 days, and has to be specified in milliseconds.
The timeout cannot be disabled.
Returns nothing. If the DDE exchange fails, e.g. if the server is busy, an
exception occurs.
Initialize(
)
Registers an application with the Dynamic Data Exchange Management
Library (DDEML). An application must call this function before calling any
other DDEML function.
See
WaitForAndProcessOneMessage() for processing DDE events
when waiting inside Python.
Returns the application instance identifier handle, abbreviated here to
DDEML lib handle.
Also implicitly done when create-ting the DDEclient object.
GetAdvisedItem(connection, itemname)
Wait forever for the next data changed Advise event of the specified item.
Only ter
minates pr
ematurely when a WM_QUIT event is received. Note
that other items may also be received while waiting.
Retur
ns a tuple (
value, data-event) where value
is the data r
eceived
accompanying a data changed Advise event, data-event is a boolean,
which is true when a data changed event has been received. This event is
to be used in case use_NODATA has been specified to Advise(),
signalling data can be requested from the server. If no data change event
has been received None is returned. If a callback has been specified to
Initialize(), this function is not operational.
ConnectList(service_name, topic_name)
Establishes a conversation with all server applications that support the
specified service name and topic name pair. By specifying empty strings
for either service_name or topic_name, all possible combinations are
connected to.
Returns a list of connection tuples, to be used with for example Request
or Disconnect.