SAMPLE: Maze.exe Demonstrates DDE

ID: Q32931

The information in this article applies to:

SUMMARY

MAZE is a file in the Microsoft Software Library that contains the source code to an application that demonstrates how to use dynamic data exchange (DDE) in a Windows-based application.

MORE INFORMATION

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

 ~ Maze.exe (size: 27151 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

When multiple instances of the MAZE application are started, MAZE draws a bouncing ball in the client area of one of its instances. MAZE creates a DDE communications link between instances of the MAZE application and uses this link to pass the ball to other instances at random. MAZE also creates a DDE conversation with Excel and passes statistical information about the ball to Excel.

MAZE demonstrates how to use DDE to pass information between applications and how to use PeekMessage to allow other applications to run simultaneously with a process-intensive task.

Keywords          : kbfile kbsample kbDDE kbGrpUser kbUser 
Version           : 3.00 3.10
Platform          : WINDOWS

Last Reviewed: April 2, 1998