I'm working with Borland C++ Builder 6 on an XP system trying to debug and fix issues with a legacy system. Personally I have 10 years code experience but only 6 months working this intensely with C++ and only 6 months experience of the application I'm trying to fix - joy!
I currently have two issues both being access violation problems.
1) The application will frequently hang with an access violation message. When and where this happens is not consistent and varies from PC to PC so I'm thinking memory leakage. However the application is large so it's something of a needle in a haystack trying to work out where the problems are.
2) I currently have a very repeatable access violation in a small subsection of the code. It is a standalone exe that runs fine. WinMain executes and everything works, then it returns 0 to the OS and I get 3 violation popups in a row. I assume the OS is performing a clean-up on the exe's resources and there is some sort of sharing problem.
So to my questions...
Is there anything I can do with the addresses given in the error popups that would help me find the root of the issues? Also is there any useful info on reading the CPU output of the borland debugger? (I know in theory what it's trying to tell me, I just don't know what it's saying!)
Thanks in advance.
I currently have two issues both being access violation problems.
1) The application will frequently hang with an access violation message. When and where this happens is not consistent and varies from PC to PC so I'm thinking memory leakage. However the application is large so it's something of a needle in a haystack trying to work out where the problems are.
2) I currently have a very repeatable access violation in a small subsection of the code. It is a standalone exe that runs fine. WinMain executes and everything works, then it returns 0 to the OS and I get 3 violation popups in a row. I assume the OS is performing a clean-up on the exe's resources and there is some sort of sharing problem.
So to my questions...
Is there anything I can do with the addresses given in the error popups that would help me find the root of the issues? Also is there any useful info on reading the CPU output of the borland debugger? (I know in theory what it's trying to tell me, I just don't know what it's saying!)
Thanks in advance.