Recommended Posts

I'm working on a DLL that has to be compiled using VC 2003 (otherwise it won't work in the EXE which is closed source), but I've become spoiled on Visual Studio 2005. Is it possible to use Visual Studio 8 as the IDE for editing a solution, but when you hit F5 or Build or whatnot, have it compile using VC7's compiler and linker? Simply redirecting the binary path to VC7's binaries results in the compiler returning an error code.

(Just FYI, that's 0xC0000136)MSDN says "To resolve this error, be more informative on error conditions." I think they meant that toward cl.exe... Google remains unhelpful in this area. I've searched quite a bit to see if this is possible but I'm not pulling up any information on the possibility of using a different compiler.

I've checked the command line: it won't let me use the single threaded runtime library switch that I need, but all the switches I see are valid commandline switches for the 2k3 compiler.

I should mention that it returns the error before it even attempts to build anything.