Starting and Finishing DDE Conversations

Previous Next

See Also

DDE conversations are conversations with a particular service about a particular topic. Before items can be exchanged or commands sent, a DDE connection must be established. When the conversation is finished, the connection must be closed. Each connection can be uniquely identified by its service name and its topic. This means that a client cannot have two conversations with the same service about the same topic at the same time.

To start a DDE conversation:

· Call:

DdeConnect(<service>, <topic>)

where "Service" is the name with which the DDE server has registered itself. The name of the service is usually identical to the application name. The server name of USoft Developer is "USoft Developer". "Topic" is the name of the topic. The topic must be supported by the server.

To finish a DDE conversation:

· Call:

DdeDisconnect(<service>, <topic>)

where "Service" and "Topic" are identical to the parameters with which the connection was opened.