The information in this article applies to:
SYMPTOMS
While using the Visual C++ debugger, if you click Print or Print Preview in
an MFC application running under Windows NT version 3.51 Checked Build, a
message box appears:
In the Visual C++ 4.0 debugger, the message box contains: The following message is also printed in the Output Window of the debugger:
CAUSE
MFC queries an HDEVNAMES handle for information about the printer device.
This information is obtained by making calls to GlobalLock to get a valid
pointer to the DEVNAMES structure. Under Win32, it is not technically
necessary to call GlobalUnlock for every GlobalLock, so MFC doesn't always
do so.
RESOLUTIONThe message and the break can be safely ignored. To continue with execution in the debugger, you can just click Go on the Debug menu, or press the F5 key. STATUSThis behavior is by design. Additional query words: 2.00 2.10 2.20 4.00 3.00 3.10 3.20
Keywords : kberrmsg kbMFC kbPrinting kbVC |
Last Reviewed: January 26, 2000 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |