
|
| Visual C/C++ 6.0 DDE Client Sample (DDEML) |
It easily explains the method of mounting the DDE client program (Microsoft Visual C/C++ 6.0) that Microsoft Visual Basic 6.0 accesses the I/O Server by using DDEML(DDE Management Library).
This sample project can be downloaded here.
NOTES
Our company does neither any operation guarantee nor the support for the sample code and each explanation that has been opened to the public to this site.
The function is recommended to be verified enough when used.
|
| |
Sample Screen |

In this sample, it writes and the function of four is used, a connection to I/O Server, manual read operation, automatic read operation, manual poke operation. |
| |
Initial |
Handler and DDE Conection that processes Callback from I/O Server are defined.
|
| |
DDE Connection |
The application name and the topic name of DDE are set, and the DDE connection is executed.
|
| |
DDE Manual Read Operation |
In a synchronous reading by the DDE manual operation link, the return value of the DDEML function reaches the data value.
|
| |
DDE Poke Operation |
The value is written in the specified item name.
|
| |
DDE automatic read operation |
Callback Handler is called by registering the item name in asynchronous reading and I/O Server by DDE automatic a link every time there is a change in the data value.
|
| |
Callback Handler |
This Handler is called every time there is a change in the item value.
|
| |
DDE Terminate |
Terminate the connection to I/O Server
|
|