views:

34

answers:

2

is there a simple way to make Visual Studio 2008 use 8.0 CRT libraries in my c++ project? I really do not want to install Visual Studio 2005 just to do this. Thanks

A: 

I would not recommend this, you are setting yourself up for a world of hurt (> the time taken to install VS2005 and reconstruct the project, imo).

Why do you need to do it?

Steve Townsend
I need to compile a dll using CRT 8.0, as compiling with 9.0 presents incompatibilities in an existing binary that interacts with it.
Phil
+4  A: 

I really do not want to install Visual Studio 2005 just to do this

Well, that's going to be difficult, you won't have the CRT include files if you don't do this. You need them, especially to get the correct manifest. Another obstacle is that the directories to search is a global setting, Tools + Options. You'd have to carefully set the directories in the project settings so the 2005 directories always get searched first.

Installing 2005 takes half an hour, tops. Tough to beat as soon as you hit the first snag, which ought to be getting the manifest right.

Hans Passant