BUG: Spy++ Causes Exception in Owner-Drawn Combo BoxLast reviewed: July 31, 1997Article ID: Q147894 |
4.00 4.10 4.20
WINDOWS NT
kbtool kbbuglist
The information in this article applies to:
SYMPTOMSUsing Spy++ with message logging on an owner-drawn combo box results in one of the following errors:
First-chance exception in OWNCOMBO.exe (USER32.DLL): 0xC0000005: Access Violation. -or- First-chance exception in OWNCOMBO.exe (KERNEL32.DLL): 0xC0000005: Access Violation.This exception is printed out in the Visual C++ debug output window. This happens both on Windows 95 and Windows NT version 3.51.
RESOLUTIONThis exception is caused by the Spy++ installed Windows hook function. It doesn't cause the program to quit, so no action should be necessary.
STATUSMicrosoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.
MORE INFORMATIONIn the sample used to produce this error, the owner-drawn combo box did not have the style CBS_HASSTRINGS. A 32-bit value was being passed to the combo box by way of CB_ADDSTRING. This appears to cause the exception when the Spy++ message logging is turned on. This error did not occur in previous versions of Spy++.
Steps to Reproduce Error
|
Additional reference words: 4.00 4.10 4.20 vcbuglist400
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |