The information in this article applies to:
SUMMARYThe Microsoft Windows version 3.1 Software Development Kit (SDK) provides a sample called THSAMPLE, which is in the SDK subdirectory \SAMPLES\TOOLHELP. This sample application uses the TOOLHELP.DLL to provide the type of information that HEAPWALK shows. SYMPTOMS
When the THSAMPLE sample application is run and the Enable List option is
enabled from the Notification menu, some of the notification messages are
not seen in the notification window.
CAUSE
There is a simple error in the THSAMPLE application. THSAMPLE uses
NotifyRegister() to register a callback function that receives all
the notification messages. This callback function is then posting a
user-defined message to itself using PostMessage() for every
notification message it receives, and displaying it in the
appropriate window.
RESOLUTIONTo correct this behavior, the application's message queue size must be increased by using SetMessageQueue() set to an appropriate number. Note that starting and exiting some applications such as Windows Help, Word for Windows, or Excel will produce a large number of LOADSEG and FREESEG notifications. Therefore, it is better to set the message queue size to the maximum of 120 in order to be able to look at most of the notifications. Additional query words: 3.10 no32bit
Keywords : kb16bitonly |
Last Reviewed: November 4, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |