System TipThis article applies to a different operating system than the one you are using. Article content that may not be relevant to you is disabled.
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
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.
The following file is available for download from the Microsoft Download Center:
Collapse this imageExpand this image
Download the package now.
(http://www.microsoft.com/downloads/details.aspx?displaylang=en&FamilyID=239a9a68-211b-4ceb-9c2c-392b5ba5f617)
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
(http://support.microsoft.com/kb/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.
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:
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.