Microsoft KB Archive/919632

= A 64-bit assembly is created when you try to build a Visual C++ Win32 project and you install the native Visual C++ 2005 64-bit toolset as part of the 64-bit Visual Studio 2005 SDK =

Article ID: 919632

Article Last Modified on 8/30/2006

-

APPLIES TO


 * Microsoft Visual Studio 2005 Professional Edition
 * Microsoft Visual Studio 2005 Standard Edition
 * Microsoft Visual Studio 2005 Express Edition
 * Microsoft Visual C++ 2005 Express Edition

-



SYMPTOMS
When you install the native Microsoft Visual C++ 2005 64-bit toolset as part of the 64-bit Microsoft Visual Studio 2005 SDK on a computer that is running a 64-bit version of Microsoft Windows, you expect the 64-bit Cl.exe file to be installed in the following folder:

C:\Program Files\Microsoft Visual Studio 8\vc\bin\AMD64

Instead, the 64-bit Cl.exe file is installed in the following folder:

C:\Program Files\Microsoft Visual Studio 8\vc\bin

When you try to build a Visual C++ Win32 project, the 64-bit tools run and create a 64-bit assembly. You do not receive a warning message or an error message that states that a 64-bit assembly was created for the Win32 project.



WORKAROUND
To work around this problem, make sure that you build a 32-bit application in a Visual Studio 2005 32-bit environment.



STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the &quot;Applies to&quot; section.



MORE INFORMATION
For more information about how to enable a 64-bit Visual C++ Toolset, visit the following Microsoft Developer Network (MSDN) Web site:

http://msdn2.microsoft.com/en-us/library/x4d2c09s.aspx

Additional query words: toolset x64 Visual C++

Keywords: kbtshoot kbbug kbprb KB919632

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.