PRB: Assert When Creating MFC Windows in Printer Drivers (189352)
The information in this article applies to:
- The Microsoft Foundation Classes (MFC), when used with:
- Microsoft Visual C++ for Windows, 16-bit edition 1.52
This article was previously published under Q189352 SYMPTOMS
When you display the Printer Properties dialog box for a printer based on a
16-bit MFC printer driver from an MFC program, you might experience various
problems, such as an assertion in Wincore.cpp line 210.
CAUSE
MFC attempts to subclass the Printer Properties dialog box twice. This
occurs only when the printer driver is using an MFC window such as a
property sheet for the Printer Properties dialog box and when the dialog is
invoked from an MFC program.
RESOLUTION
Do not display MFC windows from a printer driver.
STATUS
Microsoft is researching this problem and will post new information here in
the Microsoft Knowledge Base as it becomes available.
Modification Type: | Major | Last Reviewed: | 10/24/2003 |
---|
Keywords: | kbArchitecture kbCmnDlgPage kbCmnDlgPrint kbNoUpdate kbprb kbprint kbPropSheet KB189352 |
---|
|