msvc.rst
author Oleksandr Gavenko <gavenkoa@gmail.com>
Sun, 01 Aug 2010 23:40:39 +0300
changeset 479 ff808bf704f8
parent 424 2cbd7bbb1012
child 808 60e13fe019bf
permissions -rwxr-xr-x
ATL and MFC Version Numbers.

-*- mode: outline; coding: utf-8 -*-

* Downloads.

** MSVC.



** SDK.

  http://msdn.microsoft.com/en-us/windows/bb980924.aspx
                Windows SDK

* Register SDK to Visual Studio.

To check all available version:

  cmd> cd %PROGRAMFILES%\Microsoft SDKs\Windows\vX.X\Setup\
  cmd> WindowsSdkVer.exe -version

To check current used version:

  cmd> cd %PROGRAMFILES%\Microsoft SDKs\Windows\vX.X\Setup\
  cmd> WindowsSdkVer.exe -current

Register SDK:

  cmd> cd %PROGRAMFILES%\Microsoft SDKs\Windows\vX.X\Setup\
  cmd> WindowsSdkVer.exe -version:v6.1

* MSVC versions.

  NAME                       VER  _MSC_VER  cl

  Visual Studio 6.0 (1998)   6.0  1200
  Visual Studio .NET (2002)  7.0  1300
  Visual Studio .NET 2003    7.1  1310
  Visual Studio 2005         8.0  1400      14.00
  Visual Studio 2008         9.0  1500      15.00
  Visual Studio 2010        10.0  1600      16.00

To check version from command line:

  cmd# cl /help 2>&1 | head -n 1
Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 16.00.30319.01 for 80x8
  cmd# cl /help 2>&1 | head -n 1 | sed "s=.*Version \([0-9]*\)\.\([0-9]*\)\..*=\1.\2="
16.00

  http://predef.sourceforge.net/precomp.html#sec35

* MFC versions.

  MFC version  Visual C++ version

  1.0          Microsoft C/C++ 7.0
  2.0          Visual C++ 1.0
  2.5          Visual C++ 1.5
  3.0          Visual C++ 2.0
  3.1          Visual C++ 2.1
  3.2          Visual C++ 2.2
  4.0          Visual C++ 4.0
  4.1          Visual C++ 4.1
  4.2          Visual C++ 4.2
  4.21 (mfc42.dll) Visual C++ 5.0
  6.0 (mfc42.dll)  Visual C++ 6.0
  7.0 (mfc70.dll)  Visual C++ .NET 2002
  7.1 (mfc71.dll)  Visual C++ .NET 2003
  8.0 (mfc80.dll)  Visual C++ 2005

  http://msdn.microsoft.com/en-us/library/3z02ch3k.aspx
                ATL and MFC Version Numbers

* ALT version.

  ATL version   Visual C++ version

  1.0, 1.1, 2.0 None. Released to Web in Visual C++ 4.x time frame.
  3.0           Visual C++ 6.0
  7.0           Visual C++ .NET 2002
  7.1           Visual C++ .NET 2003
  8.0           Visual C++ 2005

  http://msdn.microsoft.com/en-us/library/3z02ch3k.aspx
                ATL and MFC Version Numbers

* MS SDK version.

                                                    VER

Included in Visual Studio 2005                      v5.0
Included in Visual Studio 2008                      v6.0A
SDK Update for Windows Vista
SDK for Windows Server 2008 and .NET Framework 3.5  v6.1
Included in Visual Studio 2010 Express              v7.0A
SDK for Windows 7 and .NET Framework 3.5 SP 1       v7.0
SDK for Windows 7 and .NET Framework 4              v7.1

  http://msdn.microsoft.com/en-us/windows/dd146047.aspx
                Which SDK do I install?
  http://en.wikipedia.org/wiki/Microsoft_Windows_SDK#Versions

* MSVC and SDK compatibility.

v6.1: MSVC 2005, 2008 + express
v7.0: MSVC 2008 + express
v7.1: MSVC 2005, 2008, 2010 + express