Using DDE Requests through OLE Automation

 

To call an Imagenation DDE Request (XTYP_REQUEST) through OLE Automation, invoke the Request method.

Syntax Imagenation.DDE.Request(BSTR "ddeRequest", BSTR resultBuffer)

Parameters

"ddeRequest"

syntax of the DDE request transaction

resultBuffer

text string

Notes The resultBuffer should be set to NULL before making the call to the DDE request. Space for the resultBuffer is allocated on the server side, which the client is reponsible for freeing.

Example of calling OpenDocwin as a Request through OLE Automation:

errorCode = Imagenation.DDE.Request("OpenDocwin(0, 0, \"c:\file.txt\", \"title\", 0, 0, 0)", resultBuffer)

The result is returned in the resultBuffer in the same format that other Request transactions use.

See also