Hi,
I'm writing a DLL for a very old program that was compiled using Visual Studio 6. This program exports some functions that return pointers to standard library containers, and I'm (unsurprisingly) running into problems when I attempt to do anything with them from my DLL, which is compiled under VS 7. The source code for the program isn't available, so recompiling it with VS 7 isn't an option.
Is there any way I can reconfigure VS 7 to link against the import libraries from the VS 6 CRT? I do have VS 6 installed (and thus all the necessary .libs and headers), but I would much rather use a newer IDE. I've tried checking "Ignore Default Libraries" in VS 7 and adding the VS 6 lib/include paths to the project settings, then adding MSVCPRT.LIB to the additional dependencies, but I just get a ton of unresolved externals from the CRT when I build the project.
Thanks a lot!