Sir,Can any Help me ,I want to Know For What Generic Reason Will Applications Developed in VC++ Will Crash?
-
:)Sir, I am working on VC++ for a simulation project. i want to know for what most of the Reasons Applications developed in VC++ will Crash. and how to find the crash point for that Application i.e; how to get into that particular line of code where my application has crashed.:) Thank you Sir I Belong To The Almighty.
-
:)Sir, I am working on VC++ for a simulation project. i want to know for what most of the Reasons Applications developed in VC++ will Crash. and how to find the crash point for that Application i.e; how to get into that particular line of code where my application has crashed.:) Thank you Sir I Belong To The Almighty.
To find the line whre your application crashes you can find out if you build your app in debug mode. At tis time your system will start your debugger at the line your code crashes. But sometimes application crashes only in release therefore you have to insert some debug messages into your code for example Beep or MessageBox. Most crash's causes of not initialized variables therefore you have to initialize all members with valid values.
-
:)Sir, I am working on VC++ for a simulation project. i want to know for what most of the Reasons Applications developed in VC++ will Crash. and how to find the crash point for that Application i.e; how to get into that particular line of code where my application has crashed.:) Thank you Sir I Belong To The Almighty.
E.Satish wrote:
how to get into that particular line of code where my application has crashed.
see this link http://www.codeproject.com/debug/mapfile.asp[^] using MAP files you can find the line where the crash occured...the only downside being for large projects MAP file generated will be huge :) "Every morning I go through Forbes list of 40 richest people in the world. If my name is not in there, I go to work..!!!"
-
E.Satish wrote:
how to get into that particular line of code where my application has crashed.
see this link http://www.codeproject.com/debug/mapfile.asp[^] using MAP files you can find the line where the crash occured...the only downside being for large projects MAP file generated will be huge :) "Every morning I go through Forbes list of 40 richest people in the world. If my name is not in there, I go to work..!!!"
Why bother using a MAP file? Just build the application with debug info (not a debug build, a release build with debug info). In fact the first changes I make to every project I make is to turn on .PDB generation for release builds. Steve