It's really a complicated problem-Help me to get solution
-
Dear Friends, Sometime my application gives an error and an abnormal error dialog box gets created and immediately after that my application closes. Also some time my application hungs-up. I am not able to find out the actual error because usually it never happens but sometime it happens and that is why it is not easy to track errors. 1. Thus please tell me how to create a log file to track of each operation. 2. Also I would like to track few errors like access violation, abnormal error window generation. As I am also unable to get the exact error so I cannot give any more idea abt errors so it may help if I can create a log file or can track few errors as specified. Thus please help me to find out the solution. Also please write to me whether I can make my program to generate a particular error to check whether my preventive measures are working properly. I am new to VC++ and at present I am unable to find any solution of it. Although I find a function say GetLastError(), but how to use it, to a particular error, I am not getting........I think WM_ENABLE message may also help me in case of hung-up but how to add this message to class wizard?:confused: Thus please help me to find the solution... Thanking You in advance. Billar :mad::confused: X|
-
Dear Friends, Sometime my application gives an error and an abnormal error dialog box gets created and immediately after that my application closes. Also some time my application hungs-up. I am not able to find out the actual error because usually it never happens but sometime it happens and that is why it is not easy to track errors. 1. Thus please tell me how to create a log file to track of each operation. 2. Also I would like to track few errors like access violation, abnormal error window generation. As I am also unable to get the exact error so I cannot give any more idea abt errors so it may help if I can create a log file or can track few errors as specified. Thus please help me to find out the solution. Also please write to me whether I can make my program to generate a particular error to check whether my preventive measures are working properly. I am new to VC++ and at present I am unable to find any solution of it. Although I find a function say GetLastError(), but how to use it, to a particular error, I am not getting........I think WM_ENABLE message may also help me in case of hung-up but how to add this message to class wizard?:confused: Thus please help me to find the solution... Thanking You in advance. Billar :mad::confused: X|
Perhaps these articles on MiniDump[^] will help or these on logging[^] or these debugging tips[^] Michael CP Blog [^]