The information in this article applies to:
SYMPTOMSThe Visual Workbench debugger allows you to set a breakpoint in a window procedure. This makes it possible for the application being debugged to break in the function when a specific message or class of messages is received. If the Windows version 3.1 prototype is used for the window procedure, the Visual Workbench is not able to identify the function as a window procedure. As a result, the WndProc list box in the Breakpoints dialog box that lists the available window procedures does not list the function. CAUSEThe Visual Workbench uses the Windows version 3.0 WndProc prototype, which reads as follows:
The Windows version 3.1 WndProc prototype is slightly different:
When the Windows version 3.1 prototype is used, the Visual Workbench is not
able to find the WndProc function.
RESOLUTIONEven though it is not possible to select the window procedure to break in from the WndProc list box in the Breakpoints dialog box, it is possible to manually enter the name of the function. STATUSMicrosoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article. This problem was corrected in Visual C++ version 2.0. MORE INFORMATION
To reproduce the problem, do the following:
Additional query words: 1.00 1.50
Keywords : kbDebug kbide |
Last Reviewed: February 2, 2000 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |