SAMPLE: Global Heap Functions

This article was previously published under Q97940
This article has been archived. It is offered "as is" and will no longer be updated.
Showmem.exe is a sample application that allows the user to allocate, free,and manipulate memory from the global heap. Different "what if" scenarioscan be demonstrated without writing and rewriting code. Information aboutglobal heap objects is displayed using the GlobalEntryHandle() andModuleFindHandle() TOOLHELP.DLL functions. Additional information about howto use the global heap functions is provided, as well as a collection ofrelated Microsoft Knowledge Base articles in help-file format.
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.

Article ID: 97940 - Last Review: 10/21/2013 17:01:54 - Revision: 3.1

  • Microsoft Windows Software Development Kit 3.0
  • Microsoft Windows Software Development Kit 3.1
  • kbnosurvey kbarchive kbfile KB97940