OLE Automation equivalents of DDE transaction, notification, and data types

 

In this Help file, all DDE transactions and notifications are listed using DDEML terminology. This topic lists the OLE Automation equivalents for these.

All DDE transactions are listed as being one of three Types: XTYP_REQUEST, XTYP_EXECUTE, or XTYP_POKE.

· XTYP_REQUEST means that the Request method is required. For details, click Using DDE Requests through OLE Automation.

· XTYP_EXECUTE means that the Execute method is required. For details, click Using DDE Executes through OLE Automation.

· XTYP_POKE transactions are not supported through OLE Automation.

Through DDEML, DDE notifications are registered and unregistered as XTYP_ADVSTART and XTYP_ADVSTOP types, as noted in the notification descriptions. Through OLE Automation, use the RegisterNotify and UnregisterNotify methods instead.

The notification descriptions also provide the notification data returned by Imagenation as XTYP_ADVDATA type. The data received is the same through OLE Automation, except that notification IDs are used instead of the notification name. For details, click Requesting notifications.

In all DDE notification and transaction topics, parameters are listed in a table with their own Data Type. The following table lists the DDE Data Types used and their equivalents in OLE Automation methods.

DDE

OLE Automation

Meaning

DWORD

long

signed 32-bit integer

WORD

short

signed 16-bit integer

string

BSTR

text in quotation marks

float

float

floating point value

BOOL

BOOL

16-bit Boolean value

See also