Unhandled exception at 0x5f4335bb (MFC42D.DLL) in .exe,Access violation

Please support our C++ advertiser: Intel Parallel Studio Home
Thread Solved

Join Date: Jul 2007
Posts: 31
Reputation: risa is an unknown quantity at this point 
Solved Threads: 1
risa risa is offline Offline
Light Poster

Unhandled exception at 0x5f4335bb (MFC42D.DLL) in .exe,Access violation

 
0
  #1
Nov 17th, 2008
hi,
I get a crash as
"Unhandled exception at 0x5f4335bb (MFC42D.DLL) in VMFirewall.exe: 0xC0000005: Access violation reading location 0x00000000."
in D:\Program Files\Microsoft Visual Studio 8\VC\atlmfc\src\mfc\appmodul.cpp in _tWinMain() funtion at call of AfxWinMain(hInstance, hPrevInstance, lpCmdLine, nCmdShow);
This crash is in both debug and release....i have tried ignore of mfc42D.lib and mfcs42d.lib....but still m getting same problem,,,plz help
Reply With Quote Quick reply to this message  
Join Date: Aug 2005
Posts: 15,362
Reputation: Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute 
Solved Threads: 1464
Team Colleague
Featured Poster
Ancient Dragon's Avatar
Ancient Dragon Ancient Dragon is offline Offline
Still Learning

Re: Unhandled exception at 0x5f4335bb (MFC42D.DLL) in .exe,Access violation

 
0
  #2
Nov 17th, 2008
There are hundreds of reasons you get that problem, so its impossible for us to give you much more info without seeing the code. Try commenting out large portions of the program until the crash no longer happens, that way you can narrow down your search for the problem. Look for buffer overruns and uninitialized variables, especially pointers.
Don't PM me with questions -- you might get a nasty PM in response. If you have a question then post it in one of the forums.
Reply With Quote Quick reply to this message  
Join Date: Jul 2007
Posts: 31
Reputation: risa is an unknown quantity at this point 
Solved Threads: 1
risa risa is offline Offline
Light Poster

Re: Unhandled exception at 0x5f4335bb (MFC42D.DLL) in .exe,Access violation

 
0
  #3
Nov 17th, 2008
well i get this crash before start of my application i.e before entering InitInstance(),,,,so i guess its not a problem of buffer over run or un-initialized variables or pointers,,,
Reply With Quote Quick reply to this message  
Reply

This thread has been marked solved.
Perhaps start a new thread instead?
Message:



Other Threads in the C++ Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC