Click here to Skip to main content
15,892,005 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

I have an c++ application (.exe). Which showing error of
application encountered serious error and must shutdown 


Is there any way to log the error. Like handling or logging application level error. Thank you.

What I have tried:

application encountered serious error and must shutdown 


How to handling or logging application level error.
Posted
Updated 21-Feb-18 0:09am

1 solution

Hard to guess. When does it happen? May depend on some special situations like missing resources like access rights, files or network. Maybe somewhere is a log file.

If you have the code => use the debugger get more details
else => deinstall the app and reinstall the app.
 
Share this answer
 
Comments
ssyuvaraja 21-Feb-18 6:48am    
Thank you. I am getting error at different places. In debug mode now I am not getting the error. This error coming on long run of application. I run the application for long time in debug mode, but error is not coming. So thought to check is there a way to catch the error from whole application at one place. So that log the error details or where it cause the error.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900