I am fairly new at C++. I was just assigned to this system 1 week ago.
At work one of our customers is having problems with our dll.
They are using our COM version of the dll with ASP pages. After a few minutes of using the ASP app by a few users that app hangs.
This is only happening with the latest version of the dll. The previous version works fine for the customer. The new version has a lot of changes on a custom
String class. I think this class is causing the problem (memory leak probably). Changes on this String class were made to solve some reporting issues. the reporting issues were fixed but this particular customer cannot use the new version.
We cannot recreate the problem in our site so its very difficult to debug.
I was thinking to add some code to the program so it prints to a log file when it encounters a prblem. Hopefully I can print the call stack when an error occurs so I can have a better idea where the problem could be.
I was wondering if this is possible and if somebody has an example on how to do this.?? The dll is coded on c++ (Microsoft Visual C++)
I am not sure of other way I can troubleshoot the problem.