DDEMLCLK: DDEML Server That Works with DDEMLCL

DDEMLCLK demonstrates painting in the icon area, placing your private data in the RC file, setting up timers, and creating a sample dynamic data exchange (DDE) server program. The WRAPPER.C module contains all the code necessary to handle the server side of a DDE application and the System topic.

When you start DDEMLCLK, it displays the current system time. To use DDEMLCLK as a DDE server application, you must start a conversation with it on the System or Time topic. Start the DDEMLCL application. Choose Connect from the DDE menu and enter "Clock" as the application and "Timer" as the topic. Click Connect to start a conversation with DDEMLCLK.

For more information, see the DDEMLCL abstract.

To use DDEMLCLK with Microsoft(R) Excel, enter in the following string in any cell:

=Clock|Timer!Now

Microsoft Excel displays the time it receives from DDEMLCLK. You may have to choose Number from the Format menu and select the "hh:mm:ss" format to see the seconds being updated.

DDEMLCLK was built and tested under Microsoft Windows(TM) version 3.1.

{ewc navigate.dll, ewbutton, /Bcodeview /T"Click to open or copy files in the ddemlclk project." /C"samples}