Executing a Command

Previous Next

Some DDE servers can execute commands. These commands are identified by command strings, which can be sent to them within the current conversation.

To send a command to a DDE server, call:

DdeExecute( servicetopicstring )


Service and topic identify the conversation as part of which the command is sent. This conversation must have been started with:

DdeConnect( servicetopic )


and must not have been finished with:

DdeDisconnect( servicetopic )


String is the command to be executed by the server.