DDEConnect

DDEConnect

Welcome to our Knowledge Base

Documentation | Blog | Demos | Support

< All Topics
Print

DDEConnect

DDEConnect

Sets up the access to the remote application.

Syntax

DDEConnect ( out tErrCode,
             out tServ,
             in dde_app,
             in dde_topic)

Parameters

tErrCode

A returned error code. It must be a longint.

tServ

The returned connection handle. It also must be a longint.

dde_app

A string containing the application name.

dde_topic

A string containing the topic name.

Comments

The procedure is supplied with the application name and topic name (usually the document name). DDEConnect assigns a connect handle to the “tServ” variable to be used in subsequent commands. DDEConnect is compiled.

The filename is ddeconn.pgm.

Example

For example, given that DDE_Err and hServ are of type longint:

DDEConnect (DDE_Err, hServ, ‘excel’, ‘sheet1’)

starts a conversation with Microsoft EXCEL. The topic of the conversation is the spreadsheet ‘sheet1’. In this case, EXCEL must be started and ‘sheet1’ opened beforehand.

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