Hello
I am a programmer working on visual studio 6.0 and working on visual C++ . I made a windows 32 bit application using mfc . The application is running all right but the application quits itself while running without any error message . I know this can be due to run time memory bound overrun but i have checked and rechecked it lots and lots of times but not able to find any such problem . Even if i dont execute any memory allocation code the same problem still prevails . I am not sure whether it is due to erronous coding or there is some virus in my system . please help me out .
programming or virus problem
Started by mukul, Sep 29 2007 10:56 PM
2 replies to this topic
#1
Posted 29 September 2007 - 10:56 PM
|
|
|
#2
Posted 30 September 2007 - 12:12 AM
What about your other applications on your computer, I mean, also those you haven't made yourself. Do they quit too?
It's no secret that MFC is bad designed, or at least, it's said to be. I haven't used it myself. It could be the MFC-part that screws your program in some way. I don't mean you've done bad coding, but behind what you're seeing.
You could try to run your program through a debugger.
It's no secret that MFC is bad designed, or at least, it's said to be. I haven't used it myself. It could be the MFC-part that screws your program in some way. I don't mean you've done bad coding, but behind what you're seeing.
You could try to run your program through a debugger.
#3
Posted 30 September 2007 - 06:33 AM
Even if your code has no bad coding it could still be a memory leak with the MFC libraries. Those libraries were horrible. I remember some of the applications that I made did the exact same thing. Scan your computer for a virus.
Another possibility is that you have bad memory. I don't know if there is a way to catch errors in MFC but you may want to look into that so you can receive an error message and determine the problem.
Another possibility is that you have bad memory. I don't know if there is a way to catch errors in MFC but you may want to look into that so you can receive an error message and determine the problem.


Sign In
Create Account

Back to top









