I am having a wierdness in my application where one of the dialogs throws some exceptions. First the dialog will throw an exception in the OnPaint() handler where it blows up on the constructor of the dc.
Here is the error:
WinGdi.cpp line 1055 on ~CPaintDC()
Here is the line in the winGDI library:
ASSERT:IsWindow(m_hWnd));
If I comment out the CDC from the OnPaint It blows up like this:
First-chance exception in lcontrol.exe: 0xC0000005: Access Violation.
debugger shows:
accessing a member variable of the dialog.
The dialog worked for months until last friday.
Helllp!
Asher
Here is the error:
WinGdi.cpp line 1055 on ~CPaintDC()
Here is the line in the winGDI library:
ASSERT:IsWindow(m_hWnd));
If I comment out the CDC from the OnPaint It blows up like this:
First-chance exception in lcontrol.exe: 0xC0000005: Access Violation.
debugger shows:
accessing a member variable of the dialog.
The dialog worked for months until last friday.
Helllp!
Asher