Maze.exe Demonstrates DDE (32931)



The information in this article applies to:

  • Microsoft Windows Software Development Kit (SDK) 3.0
  • Microsoft Windows Software Development Kit (SDK) 3.1

This article was previously published under Q32931

SUMMARY

MAZE is a file in the Microsoft Download Cetner 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 Download Center:
For additional information about how to download Microsoft Support files, click the following article number to view the article in the Microsoft Knowledge Base:

119591 How to Obtain Microsoft Support Files from Online Services

Microsoft scanned this file for viruses. Microsoft used the most current virus-detection software that was available on the date that the file was posted. The file is stored on security-enhanced servers that help to prevent any unauthorized changes to the file.
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.

Modification Type:MinorLast Reviewed:8/4/2004
Keywords:kbDDE kbfile kbSample KB32931 kbAudDeveloper