Can I use Visual Studio 2010's compiler with Visual Studio 2008's Runtime Library?

Posted by BillyONeal on Stack Overflow See other posts from Stack Overflow or by BillyONeal
Published on 2010-03-20T19:57:34Z Indexed on 2010/03/20 20:01 UTC
Read the original article Hit count: 330

Hello everyone :)

I have an application that needs to operate on Windows 2000. I'd also like to use Visual Studio 2010 (mainly because of the change in the definition of the auto keyword). However, I'm in a bit of a bind because I need the app to be able to operate on older OS's, namely:

  • Windows 2000
  • Windows XP RTM
  • Windows XP SP1

Visual Studio 2010's runtime library depends on the EncodePointer / DecodePointer API which was introduced in Windows XP SP2.

If using the alternate runtime library is possible, will this break code that relies on C++0x features added in VS2010, like std::regex?

© Stack Overflow or respective owner

Related posts about c++

Related posts about visual-studio