The information in this article applies to:
SYMPTOMSUsing the Microsoft Windows Heap Walker application (HEAPWALK.EXE), you choose Object:USER Localwalk(DATASEG) to do a local walk of the USER heap. After saving the results in a file, you open the file to discover all the count and size values are zero as in this example:
CAUSEThe Heap Walker application obtains the information for the chart by walking the USER module's local heap using the LocalFirst() and LocalNext() functions in the ToolHelp library. The entries correspond to the wType values in the LOCALENTRY structure of the ToolHelp library. The documentation on the LOCALENTRY structure in the Windows SDK Help file states that these wType values are included only in the debugging version of USER.EXE, not in the retail version. Therefore, because Heap Walker uses ToolHelp to obtain these values, no values are found in the retail version of Windows. RESOLUTION
Switch to the Debug version of Windows, and run the Heap Walker
application. This will produce correct results. For more information on the
debugging version of Windows and how to switch to it, search on the phrase
"Windows Debugging Version" in the Windows version 3.1 SDK Help file
(WIN31WH.HLP) or refer to the topic "Windows Debugging Version" in Appendix
C of the "Programming Tools for Windows" manual, which is part of the
Visual C++ version 1.50 "Professional Tools User's Guide."
STATUSThis behavior is by design. MORE INFORMATIONSteps to Reproduce Behavior
Additional query words: 3.00 3.10 heapwalker no32bit
Keywords : kb16bitonly |
Last Reviewed: November 4, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |