By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
431,918 Members | 1,557 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 431,918 IT Pros & Developers. It's quick & easy.

Unhandled exception in "wincore.cpp" file

P: n/a
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

Apr 25 '07 #1
Share this Question
Share on Google+
1 Reply


P: n/a

"Mohammad Omer" <mo******@gmail.comwrote in message
news:11**********************@r3g2000prh.googlegro ups.com...
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.
>
Regards,
-aims

May 7 '07 #2

This discussion thread is closed

Replies have been disabled for this discussion.