I know there are a few similar questions, but I don't think they really have the same requirements as mine.
Our DLL is compiled with Visual Studio 2005 and must link with a specific version of the CRT, due to installation constraints. This is absolute, recompiling it with the latest version is not a solution.
We recently updated our Boost libraries. However, when I built Boost, it automatically used the latest CRT. Now, when I link Boost with our program, it creates a dependency on both the newest (wrong) version of the CRT and the old (correct) version of the CRT. The dependency on the newest version needs to go.
What is the best solution to this problem? At the moment, the best I can think of is rebuilding Boost using the old version, but I have no idea how to easily do that without modifying the source.
If there were a way to force Visual Studio to use a specific version of the CRT globally (not on a per-project basis), that would be great. Or a way to just plain remove the newest version of the CRT, but I'm pretty sure that's not possible since I think it's considered part of the OS.