x86/x64 Win32 programming using Visual C++ Express 2008 tipsThis is very popular theme, as I know. So my instructions are here.<br><br>Tested on:<br> <ul> <li>Windows XP SP2, XP SP3: Compile only solution, you cannot start and debug x64 applications on a 32-bit PC. <li>Windows XP x64 SP2: Compile and debug support. <li>Windows Vista 23/64bit (not tested, but I think it should work fine, too)<br></li></ul>1. Download and install Windows Server 2008 SDK after Visual Studio Express (Important!)<br>Select these components when installing: Windows Headers and Libraries, Visual C++ Compilers<br><br>Note: You can install Visual Studio Express without MSDN Express before, because the latest Windows SDK help will be used instead. It is preffered way, because Windows SDK contains full development information.<br><br>2. Go to VC++ menu:<br><br>Tools -&gt; Options -&gt; Projects and Solutions -&gt; VC++ Directories<br><br>Make new paths at the begin of the list:<br><br>Executable files:<br>$(VCInstallDir)bin\x86_amd64<br><br>Library files:<br>$(VCInstallDir)lib\amd64<br>$(WindowsSdkDir)\lib\x64<br><br>To swith back to x86 code generation just move these lines to the end of the directories list. Unfortunately the Express Edition does not allow using of Win64 platform in your projects, so you may add a configuration only.<br><br>Project option for x64 builds:<br><br>Linker -&gt; Advanced -&gt; Target Machine : MachineX64 (/MACHINE:X64)<br><br>Using these modifications Visual Studio will call x64 cross compilers from Windows SDK<br><br>Also here is a tip to integrate the Windows SDK help:<br><br>VC++: Press F1<br>Enter URL in the help system:<br>ms-help://MS.VSCC.v90/dv_vscccommon/local/collectionmanager.htm<br>Select Microsoft Windows SDK and Microsoft MSDN Express Library 2008<br>Click Update VSCC<br>Close VS and Help<br>VC++: F1 to update<br>Filtered by: (no filter)<br><br>And a tip to use .RC file editor:<br><br>Right click on a rc file: &gt; Open With &gt; Source Code (Text) Editor. Set as Default<br><br><span style="font-style:italic">PS Thank for Microsoft for the Visual Studio 2008 IDE. I love it! Very comfortably developmend and debugging with this version now. Also thank for integrating x64 compilers to the Windows SDK.</span><img style="font-style:italic" src="http://forums.microsoft.com/MSDN/WebResource.axd?d=NySzF1eivP_rMoc50GQJzcvS4MHMOEKwYrCIgDtzuzlw7GsNki3H_INlfYaLgkxFe1CoiAMyBoP514QaEVifkw2&amp;amp;t=633337194230757564"><br>© 2009 Microsoft Corporation. All rights reserved.Thu, 11 Dec 2008 01:04:18 Z38544c63-d12a-4a05-9ea7-5b4124152801http://social.msdn.microsoft.com/Forums/en-US/Vsexpressvc/thread/38544c63-d12a-4a05-9ea7-5b4124152801#38544c63-d12a-4a05-9ea7-5b4124152801http://social.msdn.microsoft.com/Forums/en-US/Vsexpressvc/thread/38544c63-d12a-4a05-9ea7-5b4124152801#38544c63-d12a-4a05-9ea7-5b4124152801Andrew Revvohttp://social.msdn.microsoft.com/Profile/en-US/?user=Andrew%20Revvox86/x64 Win32 programming using Visual C++ Express 2008 tipsThis is very popular theme, as I know. So my instructions are here.<br><br>Tested on:<br> <ul> <li>Windows XP SP2, XP SP3: Compile only solution, you cannot start and debug x64 applications on a 32-bit PC. <li>Windows XP x64 SP2: Compile and debug support. <li>Windows Vista 23/64bit (not tested, but I think it should work fine, too)<br></li></ul>1. Download and install Windows Server 2008 SDK after Visual Studio Express (Important!)<br>Select these components when installing: Windows Headers and Libraries, Visual C++ Compilers<br><br>Note: You can install Visual Studio Express without MSDN Express before, because the latest Windows SDK help will be used instead. It is preffered way, because Windows SDK contains full development information.<br><br>2. Go to VC++ menu:<br><br>Tools -&gt; Options -&gt; Projects and Solutions -&gt; VC++ Directories<br><br>Make new paths at the begin of the list:<br><br>Executable files:<br>$(VCInstallDir)bin\x86_amd64<br><br>Library files:<br>$(VCInstallDir)lib\amd64<br>$(WindowsSdkDir)\lib\x64<br><br>To swith back to x86 code generation just move these lines to the end of the directories list. Unfortunately the Express Edition does not allow using of Win64 platform in your projects, so you may add a configuration only.<br><br>Project option for x64 builds:<br><br>Linker -&gt; Advanced -&gt; Target Machine : MachineX64 (/MACHINE:X64)<br><br>Using these modifications Visual Studio will call x64 cross compilers from Windows SDK<br><br>Also here is a tip to integrate the Windows SDK help:<br><br>VC++: Press F1<br>Enter URL in the help system:<br>ms-help://MS.VSCC.v90/dv_vscccommon/local/collectionmanager.htm<br>Select Microsoft Windows SDK and Microsoft MSDN Express Library 2008<br>Click Update VSCC<br>Close VS and Help<br>VC++: F1 to update<br>Filtered by: (no filter)<br><br>And a tip to use .RC file editor:<br><br>Right click on a rc file: &gt; Open With &gt; Source Code (Text) Editor. Set as Default<br><br><span style="font-style:italic">PS Thank for Microsoft for the Visual Studio 2008 IDE. I love it! Very comfortably developmend and debugging with this version now. Also thank for integrating x64 compilers to the Windows SDK.</span><img style="font-style:italic" src="http://forums.microsoft.com/MSDN/WebResource.axd?d=NySzF1eivP_rMoc50GQJzcvS4MHMOEKwYrCIgDtzuzlw7GsNki3H_INlfYaLgkxFe1CoiAMyBoP514QaEVifkw2&amp;amp;t=633337194230757564"><br>Mon, 24 Mar 2008 21:16:03 Z2008-03-24T21:16:03Z