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 (919632)



The information in this article 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 "Applies to" 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:

Modification Type:MajorLast Reviewed:8/30/2006
Keywords:kbtshoot kbBug kbprb KB919632 kbAudDeveloper kbAudITPRO