 TDOSMEM: Passes Data between a Microsoft(R) Windows(TM)
 Application and an MS-DOS(R) TSR

 TDOSMEM communicates with the TTSR program to demonstrate a 
 technique for passing data between a Microsoft(R) 
 Windows(TM) application and an MS-DOS(R) terminate-and-stay-
 resident (TSR) program. 

 TDOSMEM calls the kernel functions AllocSelector, 
 SetSelectorBase, and SetSelectorLimit and uses these 
 functions to update a buffer in a global TSR program. 
 Running multiple copies of TDOSMEM demonstrates how 
 different instances of a Windows program can access a TSR 
 program's private buffer directly.

 Before you start Windows, run TTSR.EXE from the MS-DOS 
 prompt to install the TSR program that TDOSMEM will call. 
 After you start Windows, run the TDOSMEM program. The 
 TDOSMEM main window displays the buffer address and buffer 
 contents of the TSR program. Clicking on the Request menu 
 causes TDOSMEM to increment a WORD value in the TSR 
 program's private buffer and updates the results in the 
 TDOSMEM main window.

 TDOSMEM was built and tested under Microsoft Windows 
 version 3.1.
