Unhandled exception in "wincore.cpp" file

  • Thread starter Thread starter Mohammad Omer
  • Start date Start date
M

Mohammad Omer

Hi,

I am working on MFC base SDI application using vs2k5. When I close my
application, exception shows up in "wincore.cpp" line 449, statement

"lResult = CallWindowProc(oldWndProc, hWnd, nMsg, wParam, lParam);"

exception message is,
"Unhandled exception at 0x5a906a03 in test.exe: 0xC0000005: Access
violation reading location 0x5a906a03."

Please tell me, when and how this exception comes on above statement?

Regards,
-aims
 
Mohammad Omer said:
Hi,

I am working on MFC base SDI application using vs2k5. When I close my
application, exception shows up in "wincore.cpp" line 449, statement

"lResult = CallWindowProc(oldWndProc, hWnd, nMsg, wParam, lParam);"

exception message is,
"Unhandled exception at 0x5a906a03 in test.exe: 0xC0000005: Access
violation reading location 0x5a906a03."

Please tell me, when and how this exception comes on above statement?

You forgot to undo subclassing a window, or tried to remove the subclass at
the wrong time.
 
Back
Top