DDEPeek

DDEPeek

Welcome to our Knowledge Base

Documentation | Blog | Demos | Support

< All Topics
Print

DDEPeek

DDEPeek

Syntax

procedure DDEPeek (out tErrCode, inout tServ, in dde_item, out dde_val)

Parameters

tErrCodelongint, an error code
tServlongint, connection handle
dde_itemchar, item name
dde_valchar, value of the returned item. Must be a string at least five characters in length

Comments

DDEPeek retrieves the value of a specific item from a remote application. Consult the documentation of the remote application for information on what constitutes an item. The value of an item is always returned as char.

The filename is ddepeek.pgm.

Example

For example, given that DDE_Err and hServ are of type longint, that DDE_OutValue is of type alpha and is 10 characters long, and that hServ has been set in a previous call to DDEConnect, to retrieve the value of row 1, column 1 in the current spreadsheet, enter the following:

DDEPeek(DDE_Err, hServ, ‘R1C1’, DDE_OutValue)

This example “peeks” at the value of the cell at row 1, column 1 and places the retrieved value in DDE_OutValue.

Was this article helpful?
0 out of 5 stars
5 Stars 0%
4 Stars 0%
3 Stars 0%
2 Stars 0%
1 Stars 0%
5
How can we improve this article?
Please submit the reason for your vote so that we can improve the article.

Deixe um comentário

O seu endereço de e-mail não será publicado. Campos obrigatórios são marcados com *

pt_BRPortuguese