SAMPLE: DDE.exe Demonstrates Dynamic-Data Exchange (DDE)

ID: Q73681

The information in this article applies to:

SUMMARY

DDE.exe is a sample file that demonstrates dynamic-data exchange (DDE) and how it is programmed under Windows 3.0.

MORE INFORMATION

The following file is available for download from the Microsoft Software Library:

 ~ DDE.exe (size: 33939 bytes) 

For more information about downloading files from the Microsoft Software Library, please see the following article in the Microsoft Knowledge Base:

   ARTICLE-ID: Q119591
   TITLE     : How to Obtain Microsoft Support Files from Online Services

There are two separate applications in the DDE archive file: TICTAPE and BARGRAPH. For each application, the archive holds a makefile, header file, C source code, resources (.RC) file, segment definitions (.DEF) file, and an icon.

TICTAPE is a DDE server that randomly creates and transmits data about four stocks. BARGRAPH is a DDE client that graphically illustrates the data from TICTAPE. TICTAPE was demonstrated at "Windows on Wall Street," June 4, 1986.

To use these applications, perform the following six steps:

1. Download from the Microsoft Software Library and expand the DDE file.

2. Build TICTAPE and BARGRAPH.

3. Start Windows.

4. Run TICTAPE.EXE.

5. Run BARGRAPH.EXE.

6. Activate TICTAPE and choose "Start Ticker Tape".

The BARGRAPH application's main window will dynamically display the (random) values of the four stocks.

Additional information concerning DDE can be found in Chapter 22 of the "Microsoft Windows Software Development Kit Guide to Programming" and in Chapter 15 of the "Microsoft Windows Software Development Kit Reference, Volume 2."

Additional query words: Keywords : kbfile kbsample kb16bitonly kbDDE kbGrpUser

Last Reviewed: December 13, 1998