dde_data

BAP Online Manuals : Library Reference : Library by Name : dde_data
Previous: dcall
Next: dde_exec

6.2.37. dde_data

requests data in a DDE conversation

SYNOPSIS

INCLUDE 'iolib.h'
dde_data(Handle, Item, Data)

SYNTAX

dde_data(Handle, Item, Data) (i,i,o)

ARGUMENTS

handle(Handle) (i) virtual handle associated with the conversation
string(Item) (i) DDE Item specifier string
string(Data) (o) contents of the DDE item

DESCRIPTION

Requests a data item from a DDE server application. The conversation specified by Handle must be opened by a dde_init command.

The exact value of the returned string depends on services provided by the DDE server application.

NOTE: This predicate is server dependent. It is available only under host servers supporting the

DDE protocol (WIO).

EXAMPLE

dde_init(pfe, pfe, editor),
dde_exec(pfe, 'filenew()'),
dde_data(pfe, 'WindowID', Id),
dde_terminate (pfe).

ERRORS

No runtime errors.

LAYERS

prolog-process, client-server, object

RELATED PREDICATES

dde_init , dde_exec , dde_terminate


BAP Online Manuals : Library Reference : Library by Name : dde_data
Previous: dcall
Next: dde_exec