You receive a compile error in your ATL project after you install the Windows SDK 6.1 with Visual Studio 2008 Service Pack 1

SYMPTOMS
Consider the following scenario. You install Microsoft Visual Studio 2008 Service Pack 1 (SP1). Or, you install some updates for Visual Studio 2008 SP1. Then, you install the Windows Software Development Kit (SDK) 6.1. In this scenario, you receive the following compiler error message in your Active Template Library (ATL) projects:
error C2039: '_Swap_adl' : is not a member of 'std' c:\program files\microsoft visual studio 9.0\vc\include\xutility 2764
error C3861: '_Swap_adl': identifier not found c:\program files\microsoft visual studio 9.0\vc\include\xutility 2764
CAUSE
The Windows SDK for Windows Server 2008 and the .NET Framework 3.5 (Windows SDK 6.1) shares several C Runtime files with Visual Studio 2008. The Windows SDK 6.1 has the Visual Studio 2008 RTM version of these files. If you install Windows SDK 6.1 after you install Visual Studio 2008 Service Pack 1 or a later version of Visual Studio 2008, unversioned files that are shared between the Windows SDK 6.1 and Visual Studio 2008 are rolled back to the RTM version. There are incompatibilities between the Visual Studio 2008 RTM file versions and newer versions of the C Runtime files. Therefore, a compiler error can occur when these incompatible files are mixed together.
STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.
RESOLUTION
The following file is available for download from the Microsoft Download Center:

DownloadDownload the package now.

Release Date: Tuesday, September 8, 2009

For more information about how to download Microsoft support files, click the following article number to view the article in the Microsoft Knowledge Base:
119591 How to obtain Microsoft support files from online services
Microsoft scanned this file for viruses. Microsoft used the most current virus-detection software that was available on the date that the file was posted. The file is stored on security-enhanced servers that help prevent any unauthorized changes to the file.
MORE INFORMATION

Prerequisites to install this security update

To install this security update, you must have Windows Installer 3.1 or a later version installed on the computer. To obtain the latest version of Windows Installer for the computer, visit the following Microsoft Web site:

Security update replacement information

This security update does not replace any other security update.

Update removal information

After you install this update, you can uninstall it by using the Add or Remove Programs item in Control Panel.

Command-line switches for this update

You can find information about the various command-line switches that this update supports on the following MSDN Web site: For more information about Windows Installer, visit the following MSDN Web site:
FILE INFORMATION
The English (United States) version of this software update installs files that have the attributes that are listed in the following tables. The dates and times for these files are listed in Coordinated Universal Time (UTC). The dates and times for these files on your local computer are displayed in your local time and with your current daylight saving time (DST) bias. Additionally, the dates and times may change when you perform certain operations on the files.
File nameFile versionFile sizeDateTime
chkstk.obj1,37312-Jul-200922:09
cl.exe.config29312-Jul-200922:07
array16,41712-Jul-200922:09
array16,41712-Jul-200922:09
msvcm90.amd64.pdb1,838,08012-Jul-200922:09
msvcm90.i386.pdb1,805,31212-Jul-200922:07
msvcm90.ia64.pdb1,944,57612-Jul-200922:09
msvcm90d.amd64.pdb2,255,87212-Jul-200922:09
msvcm90d.i386.pdb2,223,10412-Jul-200922:07
msvcm90d.ia64.pdb2,354,17612-Jul-200922:09
msvcp90.amd64.pdb3,943,42412-Jul-200922:09
msvcp90.i386.pdb3,582,97612-Jul-200922:07
msvcp90.ia64.pdb4,754,43212-Jul-200922:09
msvcp90d.amd64.pdb4,918,27212-Jul-200922:09
msvcp90d.i386.pdb4,336,64012-Jul-200922:07
msvcp90d.ia64.pdb5,671,93612-Jul-200922:09
msvcr90.amd64.pdb4,770,81612-Jul-200922:09
msvcr90.i386.pdb4,762,62412-Jul-200922:07
msvcr90.ia64.pdb5,344,25612-Jul-200922:09
msvcr90d.amd64.pdb5,860,35212-Jul-200922:09
msvcr90d.i386.pdb5,639,16812-Jul-200922:07
msvcr90d.ia64.pdb5,835,77612-Jul-200922:09
random83,27312-Jul-200922:09
random83,27312-Jul-200922:09
tuple12,37112-Jul-200922:09
tuple12,37112-Jul-200922:09
xxfunction9,84512-Jul-200922:09
xxfunction9,84512-Jul-200922:09
algorithm195,31012-Jul-200922:09
almapdll.lib18,73612-Jul-200922:09
almap.lib17,80812-Jul-200922:09
binmode.obj3,77712-Jul-200922:09
comdef.h8,73112-Jul-200922:07
commode.obj10,61512-Jul-200922:09
complex32,10512-Jul-200922:09
crtassem.h95512-Jul-200922:09
crtassem.h1,29812-Jul-200922:09
crtdefs.h97,32712-Jul-200922:09
deque39,24712-Jul-200922:09
functional35,12012-Jul-200922:09
fp10.obj12,06512-Jul-200922:09
hash_map9,46212-Jul-200922:09
hash_set8,18312-Jul-200922:09
intrin.h89,12912-Jul-200922:09
invalidcontinue.obj12,05112-Jul-200922:09
iosfwd24,92612-Jul-200922:09
libcmt.lib9,217,23212-Jul-200922:09
libcmt.lib12,760,76212-Jul-200922:09
libcmt.lib10,006,92012-Jul-200922:09
libcmt.pdb167,93612-Jul-200922:07
libcmt.pdb167,93612-Jul-200922:09
libcmt.pdb167,93612-Jul-200922:09
libcmtd.lib11,365,49212-Jul-200922:09
libcmtd.lib16,473,87012-Jul-200922:09
libcmtd.lib12,787,82612-Jul-200922:09
libcmtd.pdb176,12812-Jul-200922:07
libcmtd.pdb176,12812-Jul-200922:09
libcmtd.pdb176,12812-Jul-200922:09
libcpmt.lib5,349,93412-Jul-200922:09
libcpmt.lib8,755,30412-Jul-200922:09
libcpmt.lib6,963,46212-Jul-200922:09
libcpmt.pdb331,77612-Jul-200922:07
libcpmt.pdb339,96812-Jul-200922:09
libcpmt.pdb339,96812-Jul-200922:09
libcpmtd.lib6,781,27012-Jul-200922:09
libcpmtd.lib11,713,79412-Jul-200922:09
libcpmtd.lib9,301,87412-Jul-200922:09
libcpmtd.pdb356,35212-Jul-200922:07
libcpmtd.pdb356,35212-Jul-200922:09
libcpmtd.pdb356,35212-Jul-200922:09
link.exe.config29312-Jul-200922:07
loosefpmath.obj12,35212-Jul-200922:09
memory50,16812-Jul-200922:09
Microsoft.VC90.CRT.man1,86212-Jul-200914:30
Microsoft.VC90.CRT.man1,86112-Jul-200914:47
Microsoft.VC90.CRT.man1,86012-Jul-200919:08
microsoft.vcxx.crt.i64_msm.msm1,026,04812-Jul-200920:23
microsoft.vcxx.crt.x86_msm.msm599,55212-Jul-200920:12
microsoft.vcxx.crt.x64_msm.msm632,83212-Jul-200920:19
Microsoft.VC90.DebugCRT.man1,87012-Jul-200920:10
Microsoft.VC90.DebugCRT.man1,86912-Jul-200920:10
Microsoft.VC90.DebugCRT.man1,86812-Jul-200920:11
microsoft.vcxx.debugcrt.i64_msm.msm1,796,60812-Jul-200920:23
microsoft.vcxx.debugcrt.x86_msm.msm824,32012-Jul-200920:12
microsoft.vcxx.debugcrt.x64_msm.msm828,92812-Jul-200920:18
microsoft.vcxx.debugmfc.i64_msm.msm4,759,04012-Jul-200922:09
microsoft.vcxx.mfc.i64_msm.msm2,600,96012-Jul-200922:09
microsoft.vcxx.mfcloc.i64_msm.msm242,17612-Jul-200922:09
Microsoft.VisualC.STLCLR.dll9.0.30729.414841,98414-Jul-200912:21
msvcm90d.dll9.0.30729.4148429,56812-Jul-200920:10
msvcm90d.dll9.0.30729.4148312,83212-Jul-200920:11
msvcm90.dll9.0.30729.4148245,76012-Jul-200914:30
msvcm90.dll9.0.30729.4148324,09612-Jul-200914:47
msvcm90.dll9.0.30729.4148225,28012-Jul-200919:08
msvcm90d.dll9.0.30729.4148333,31212-Jul-200920:10
msvcmrt.lib1,529,80812-Jul-200922:09
msvcmrt.lib1,697,61212-Jul-200922:09
msvcmrt.lib1,846,52612-Jul-200922:09
msvcmrtd.lib1,625,96012-Jul-200922:09
msvcmrtd.lib1,804,92612-Jul-200922:09
msvcmrtd.lib1,956,84812-Jul-200922:09
msvcp90d.dll9.0.30729.41482,513,74412-Jul-200920:10
msvcp90d.dll9.0.30729.4148872,25612-Jul-200920:11
msvcp90.dll9.0.30729.4148853,31212-Jul-200914:30
msvcp90.dll9.0.30729.41481,466,19212-Jul-200914:47
msvcp90.dll9.0.30729.4148569,66412-Jul-200919:08
msvcp90d.dll9.0.30729.41481,120,57612-Jul-200920:10
msvcprt.lib1,654,51612-Jul-200922:09
msvcprt.lib2,140,98612-Jul-200922:09
msvcprt.lib1,686,81812-Jul-200922:09
msvcprtd.lib1,827,18612-Jul-200922:09
msvcprtd.lib2,369,33212-Jul-200922:09
msvcprtd.lib1,860,04012-Jul-200922:09
msvcr90d.dll9.0.30729.41483,603,77612-Jul-200920:10
msvcr90d.dll9.0.30729.41481,178,96012-Jul-200920:11
msvcr90.dll9.0.30729.4148624,44812-Jul-200914:30
msvcr90.dll9.0.30729.41481,505,60012-Jul-200914:47
msvcr90.dll9.0.30729.4148653,12012-Jul-200919:08
msvcr90d.dll9.0.30729.41481,350,97612-Jul-200920:10
msvcrt.lib1,360,06812-Jul-200922:09
msvcrt.lib1,585,29612-Jul-200922:09
msvcrt.lib1,357,32212-Jul-200922:09
msvcrtd.lib1,392,99012-Jul-200922:09
msvcrtd.lib1,642,42012-Jul-200922:09
msvcrtd.lib1,401,63412-Jul-200922:09
msvcurt.lib15,375,47412-Jul-200922:09
msvcurt.lib15,737,15612-Jul-200922:09
msvcurt.lib15,882,49012-Jul-200922:09
msvcurtd.lib16,952,23412-Jul-200922:09
msvcurtd.lib17,303,54612-Jul-200922:09
msvcurtd.lib17,454,71012-Jul-200922:09
newmode.obj10,54312-Jul-200922:09
nmmintrin.h3,96712-Jul-200922:09
noarg.obj6,95512-Jul-200922:09
nochkclr.obj2,99812-Jul-200922:09
noenv.obj5,37812-Jul-200922:09
nothrownew.obj15,82312-Jul-200922:09
policy.x.xx.microsoft.vcxx.crt.i64_msm.msm55,29612-Jul-200920:23
policy.x.xx.microsoft.vcxx.crt.x86_msm.msm55,29612-Jul-200920:12
policy.x.xx.microsoft.vcxx.crt.x64_msm.msm55,29612-Jul-200920:19
policy.x.xx.microsoft.vcxx.debugcrt.i64_msm.msm55,29612-Jul-200920:23
policy.x.xx.microsoft.vcxx.debugcrt.x64_msm.msm55,29612-Jul-200920:18
policy.x.xx.microsoft.vcxx.debugcrt.x86_msm.msm55,29612-Jul-200920:12
policy.x.xx.microsoft.vcxx.debugmfc.i64_msm.msm75,26412-Jul-200922:09
policy.x.xx.microsoft.vcxx.mfc.i64_msm.msm74,75212-Jul-200922:09
policy.x.xx.microsoft.vcxx.mfcloc.i64_msm.msm74,75212-Jul-200922:09
product.xml1,75212-Jul-200922:07
product.xml1,62012-Jul-200922:09
product.xml1,61712-Jul-200922:09
ptrustm.lib426,51812-Jul-200922:09
ptrustmd.lib433,69012-Jul-200922:09
ptrustu.lib426,51812-Jul-200922:09
ptrustud.lib433,69012-Jul-200922:09
sdknames.lib7,46212-Jul-200922:09
smalheap.obj19,25912-Jul-200922:09
sstream16,68512-Jul-200922:09
stat.c12,72612-Jul-200922:09
stat64.c11,10612-Jul-200922:09
tcmap.lib29,67612-Jul-200922:09
tcmapdll.lib32,05812-Jul-200922:09
threadlocale.obj2,64712-Jul-200922:09
utility7,23012-Jul-200922:09
vcredist_IA64.exe9.0.30729.41484,682,07212-Jul-200919:08
vcredist_x86.exe9.0.30729.41484,485,97612-Jul-200919:18
vcredist_x64.exe9.0.30729.41485,225,30412-Jul-200914:45
vector64,04712-Jul-200922:09
wchar.h75,91812-Jul-200922:09
xhash26,76812-Jul-200922:09
xlocnum51,31312-Jul-200922:09
xstddef2,73012-Jul-200922:09
xtree44,20912-Jul-200922:09
xutility128,83412-Jul-200922:09
xutility128,56312-Jul-200922:09
yvals.h21,52712-Jul-200922:09
patch Visual Studio VS 2008 VS2008 ATL Active Template Library DLL Windows SDK rollback
Properties

Article ID: 974479 - Last Review: 09/08/2009 20:56:42 - Revision: 2.0

Microsoft Visual Studio 2008 Service Pack 1

  • atdownload kbbug kbexpertiseinter kbsecurity kbsurveynew KB974479
Feedback