SAMPLE: Talk.exe Shares Global Memory Between Applications

ID: Q47499

The information in this article applies to:

SUMMARY

Talk.exe is a sample application in the Microsoft Software Library that demonstrates how to share data between two applications without having to use dynamic data exchange (DDE). TALK contains two applications (POST and HELLO) that demonstrate three different ways to pass information between two applications. Please note that either the GMEM_DDESHARE or the GMEM_NOTBANKED flag must be specified when the memory is allocated. This ensures that the memory referenced by the handle is available even when Windows is running in real mode and EMS memory is in use.

MORE INFORMATION

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

 ~ Talk.exe (size: 26268 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

NOTE: Although the principles of message-based DDE communication shown in the TALK sample are compatible with Windows 3.1, Microsoft strongly recommends that new applications for Windows 3.1 and later use the DDEML library provided by the system.
Keywords          : kbfile kbsample kbDDE kbGrpUser kbUser 
Version           : 3.00 3.10
Platform          : WINDOWS

Last Reviewed: April 2, 1998