Please enable JavaScript to view this site.

ESL Documentation

Many of the data exchange functions and subroutines accept a status argument that is bundled by the DDE DLL with the Windows message when it is delivered to the partner application.  The DDE protocol prescribes the valid status values for each message, and what they mean.  The ESL DDE DLL generates an error event if the status used for a given subroutine or function is not valid for the DDE message.  When this happens, the message is not sent.  A single status variable can encode multiple status flags.  The following functions are used for setting and querying the individual flags in a status variable:

 

DDESetStatusFlag

DDEQueryStatusFlag 

DDEGetPrivateStatus 

DDESetPrivateStatus

 

See The ESL DDE Functions and Subroutines for a complete description of each of these functions. You can use these functions to construct an appropriate status parameter, or to decompose a status value received from a partner (through the DDEGetStatus call).  The valid status flag values (defined in ESLDDE.INC) are as follows:

Status Flag Value

Description

DDE_FACK

A positive acknowledgment.

DDE_FBUSY

Partner was busy.  (Only valid if flag is not set.)

DDE_FNODATA

Send subsequent DATA messages with zero-length data portion (for DDE_ADVISE).

DDE_FACKREQ

Request acknowledgment.

DDE_FRESPONSE

Data is sent in response to a DDE_REQUEST.

DDE_FNOTPROCESSED

Data not processed.

(This is valid only if the DDE_FACK flag is not set.)