473,386 Members | 1,706 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

Unhandled exception in "wincore.cpp" file

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
1 3929

"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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Vernon | last post by:
Hi anyone, This is my code. int num num = 0; for(int a=0; a<count; ++a){ if(current->transID==aNo) ++num; current = current->next;
7
by: mescaline | last post by:
Hi, Suppose a_file.cpp contains a function a_function() Now to include it in main_file.cpp I just do #include "a_file.cpp" and I'm all set. i recently came across this seemingly roundabout...
3
by: Arpi Jakab | last post by:
I have a main project that depends on projects A and B. The main project's additional include directories list is: ...\ProjectA\Dist\Include ...\ProjectB\Dist\Include Each of the include...
3
by: Kceiw | last post by:
Dear all, When I use #include "queue.h", I can't link it. The error message follows: Linking... G:\Projects\Datastructure\Queue\Debug\main.o(.text+0x136): In function `main':...
9
by: Richard Lionheart | last post by:
Hi All, I've got Visual Studio .Net installed, but I don't know it very well. So I tried to create a plain old Win32 using the command-line complier. I tried to compile: ************...
6
by: Jofio | last post by:
I have a .h (header file) linked using #include<...>. I also have a .cp file which i don't know how to include in the header of my "main" file. I have the following c++ file. The file names are:...
4
by: Simon | last post by:
Hi, I am trying to create a round kind of function, (to round float and double to int). In the H file I can do the following with not too much trouble... // #include <limits> #include...
4
by: desktop | last post by:
I have a main.cpp file that will call a single function. For the sake of curiousity I would like to place this function in a separate file called func.cpp and include it in my main.cpp with:...
0
by: Mohammad Omer | last post by:
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,...
11
by: Grzesiek | last post by:
Hi I have Main.cpp and Hello.cpp files in my Dev C++ project. Main.cpp #include "Hello.cpp" int main(){ return 0;
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.