How to resolve Run time Error ?
-
Here is a program, in the release version, there is a "Run time Error" appreared some times, I can get the module name and the address of the function, but the address is an Invalid value. It is not occured either in the debug version or release version with debug information, and it is not occured anytime. when I press the debug button, it will not show the debug enviorment but just shut down the program. It is an ActiveX program I wrote and the error occured when it is being created. How can I find out the reason of this bug and how to debug in this situation? Thank u!
-
Here is a program, in the release version, there is a "Run time Error" appreared some times, I can get the module name and the address of the function, but the address is an Invalid value. It is not occured either in the debug version or release version with debug information, and it is not occured anytime. when I press the debug button, it will not show the debug enviorment but just shut down the program. It is an ActiveX program I wrote and the error occured when it is being created. How can I find out the reason of this bug and how to debug in this situation? Thank u!
See "Debugging in Release Mode section" of this artcile[^].
Prasad Notifier using ATL | Operator new[],delete[][^]