everyone, i tried finding a solution on the internet, yet i've failed and i need your help.
I need to write a programm which has the following property:
If it crashes - it should write the time of the crash and the line, where it occured.
I've made a special logging function for this purpose, however - i have no idea how to intercept the crash event and make it write to the logfile - just after the crash occured.
I would really appreciate your help.