Robert
Robert

Reputation: 527

Compiling in Visual C++ 2005

I wrote a C++ DLL and it has been compiled. It requires Visual C++ 2010. How can I compile it for Visual C++ 2005, and will it work for Windows XP, Windows Vista, Windows 7?

My DLL uses detours 1.5 and windows sockets. I use Visual Studio 2010.

Upvotes: 1

Views: 195

Answers (1)

Doc Brown
Doc Brown

Reputation: 20044

I guess you need to install Visual C++ 2005 on the same machine, and read this article:

http://weblogs.asp.net/israelio/archive/2009/10/20/enable-vs-2010-multi-targeting-also-for-vs2005-c.aspx

(I have used multi targeting of VS 2010 only for the VS 2008 tool chain, but with the patch above it should work in a similar manner).

Upvotes: 2

Related Questions