Top "Legacy-code" questions

Originally legacy code meant code 'inherited' from authors or from a previous program/system version.

Installation of VB6 on Windows 7 / 8 / 10

I have been having problems installing VB6 on Windows 7. I realize it is a legacy IDE and my research on …

windows-7 vb6 installation legacy legacy-code
How to change method behaviour through reflection?

I have a a static method in some legacy code, which is called by multiple clients. I obviously have no …

java android design-patterns legacy-code
Will Windows 7 support the VB6 runtime?

I can't seem to find a straight answer on this. It appears that Visual Studio 6 won't be supported, but I'm …

vb6 windows-7 legacy-code
Method for finding memory leak in large Java heap dumps

I have to find a memory leak in a Java application. I have some experience with this but would like …

java methodology enterprise legacy-code memory-leaks
Dead code detection in legacy C/C++ project

How would you go about dead code detection in C/C++ code? I have a pretty large code base to …

c++ automation static-analysis legacy-code dead-code
Adding unit tests to legacy code

Have you ever added unit tests, after the fact, to legacy code? How complicated was code and how difficult to …

unit-testing legacy-code
Reset class static variable during unit test

I am trying to write a unit test for a legacy code. The class which I'm testing has several static …

java unit-testing legacy-code static-variables
Implicit int return value of C function

I've googled and just can't seem to find the answer to this simple question. Working on a legacy code base (…

c function legacy-code
Redirect both cout and stdout to a string in C++ for Unit Testing

I'm working on getting some legacy code under unit tests and sometimes the only way to sense an existing program …

c++ unit-testing stdout legacy-code
Coding Katas for practicing the refactoring of legacy code

I've gotten quite interested in coding katas in recent months. I believe they are a great way to hone my …

refactoring legacy-code