DDEPoke

Assigns a value to a specific item in a remote application.

Syntax

procedure DDEPoke (out tErrCode, inout tServ,\
 in dde_item, in dde_val)

Parameters

tErrCode

longint, an error code

tServ

longint, connection handle

dde_item

char, item name

dde_val

char, value of the item

Comments

DDEPoke assigns a value to a specific item in a remote application. Consult the documentation of the remote application for information on what constitutes an item. The value of an item is always given as char.

The filename is ddepoke.pgm.

Example

For example, given that DDE_Err and hServ are of type longint, to set the value of row 1, column 1 in the current spreadsheet, enter the following:

DDEPoke (DDE_Err, hServ, 'R1C1', '25')

This example "pokes" the value '25' into row 1, column 1.