|
|
|
|
This example is a code found on the DDE client computer. This code is used to start the DDE server in order to make it run an action. The result of the action is retrieved using DDEString. // Example of client ConnectionNum is int DDEStart(ServerName) // Starts the server ConnectionNum = DDEConnect(ServerName, "MySubject") // Connection // Prepares to receive messages in the MODIF procedure DDEEvent("MODIF", DDEtoModify) // ... // Runs a server action DDEExecute(ConnectionNum, "EXE1") IF DDERetrieve(ConnectionNum, "Item1") THEN Info("The retrieved data is" + DDEString()) END // ... // Sends a value DDESend(ConnectionNum, "Item2", Value) // ... // Disconnection DDEDisconnect(ConnectionNum)
Esta página también está disponible para…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|