beautypg.com

HP NonStop G-Series User Manual

Page 27

background image

Client Programming

Introduction to the Tandem DDE Gateway

110838 Tandem Computers Incorporated

1–15

Table 1-1. Example DDE Verbs

Microsoft
Excel

Microsoft DDE
Management Library

Microsoft
Visual Basic

Microsoft Word
for Windows

Asymetrix
ToolBook

INITIATE

DdeConnect

LinkMode
(Option 2)

DDEInitiate

(Automatic)

TERMINATE

DdeDisconnect

LinkMode
(Option 0)

DDETerminate

(Automatic)

EXECUTE

DdeClientTransaction
(XTYP_EXECUTE)

LinkExecute

DDEExecute

executeRemote

POKE

DdeClientTransaction
(XTYP_POKE)

LinkPoke

DDEPoke

setRemote

REQUEST

DdeClientTransaction
(XTYP_REQUEST)

LinkRequest

DDERequest

getRemote

To use built-in DDE verbs to access the Tandem DDE Gateway, the client tools must
do the following:

Support DDE cold data links by using verbs equivalent in general DDE-related
functions to Microsoft Excel’s INITIATE, TERMINATE, POKE, REQUEST, and
EXECUTE.

Be able to execute multiple DDE Poke, DDE Execute, and DDE Request functions
within one DDE conversation.

Support a string data type, or store strings in a tool-defined cell or container such
as the cell of a spreadsheet.

To take advantage of the RSC Unsolicited Message Service (UMS) feature, the
client tools must support DDE hot or warm data links. In these types of links, a
DDE client tells a DDE server about data items of interest and the DDE server
sends data whenever the value of the data changes within the server.

To call the Microsoft DDE Management Library to access the Tandem DDE Gateway,
the client tool must do the following:

Support calls to Windows DLL functions.

Support calls to DLL functions that return 16-bit and 32-bit integers; accept 16-bit
and 32-bit integers as parameters passed by value and reference; and accept either
character strings, arrays, or structures as parameters passed by reference.

Support a string data type, or store strings in a tool-defined cell or container such
as the cell of a spreadsheet.

Be able to pass (by reference) a string terminated with a byte of binary zeros as a
parameter to a DLL function call.

The client tool must have some kind of scripting, macro, or other programming
language.