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

6.2.38. dde_exec

executes a DDE command

SYNOPSIS

INCLUDE 'iolib.h'
dde_exec(Handle, Command)

SYNTAX

dde_exec(Handle, Command) (i,i)

ARGUMENTS

handle(Handle) (i) virtual handle which will be associated with the conversation
string(Command) (i) DDE Command string

DESCRIPTION

Requests a DDE server application to execute a command. The conversation specified by ´Handle´ must be opened by a dde_init command.

The exact effect of the command 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_terminate (pfe).

ERRORS

No runtime errors.

LAYERS

prolog-process, client-server, object

RELATED PREDICATES

dde_init , dde_data , dde_terminate


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