Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>This little guide I made is to make t<strong>he VC++ 2005 Express compile 64bit using the latest PSDK</strong> (altough I'm not sure how good it works)</p> <p>I'll assume you already have VC++ 2005 Express and the PSDK installed, and activated the Win32 application building in VC++ and running 64bit Windows (well it maybe works in 32bit windows too but the exe will not run in that enviroment)</p> <p>1) Start -> All Programs -> Microsoft Platform SDK for Windows Server 2003 SP1 -> Windows XP 64-bit Build Environment -> Set Windows XP x64 Build Environment (Debug/Retail) &lt;- doesn't mather which one at this moment</p> <p>2) start the VC++ 2005 Express IDE run the VCExpress.exe file with the /USEENV swich: [your install dir of VC++ 2005 Express]\Common7\IDE\VCExpress.exe /USEENV This will clear out all default bin/lib/include path and add only those that the 'Set Windows XP x64 Build Environment (Debug/Retail)' batch file sets for you.</p> <p>3) Open your application or create a new one.</p> <p>4) Edit the properties for the application ( Project -> Properties ) and change this settings to this values.</p> <p>C/C++ -> General -> Debug Information Format : Program Database (/Zi) C/C++ -> Code Generation -> Basic Runtime Checks : Default Linker -> Advanced -> Target Machine : not set Linker -> Command Line -> Additional Options : /MACHINE:AMD64</p> <p>now it should be able to compile for 64bit (I think I havn't forgotten anything)</p> <p>altough I got this error: error PRJ0002 : Error result 128 returned from 'C:\Program Files\Microsoft Platform SDK\Bin\mt.exe'.</p> <p>but solved it by copy the mt.exe that comes with the VC++ 2005 Express install to the PSDK/Bin dir, thus overwriting the PSDK/bin/mt.exe.</p> <p>Another thing I almost forgot. you maybe get this error described here: <a href="http://support.microsoft.com/?id=894573" rel="nofollow noreferrer">http://support.microsoft.com/?id=894573</a> adding bufferoverflowU.lib to the project will solve that.</p> <p>NOTE: I havn't tested it anything yet just compiled a simple windows app and a console app and the TaskManager doesn't say *32 after the process as it would do if it was 32-bit. I don't know if it works with larger projects or anything because I got it working for like 10 minutes ago :)</p> <p>But I have a question about my newly created 64bit applications (just a simple "hello world" window created by the built in wizard) how can I be sure that it is really 64 bit? the Taskmanager says it is because it doesn't have the *32 but is that enough proof?</p> <p>EDIT: you may need to copy the msvcrtd.dll &amp; msvcp60d.dll from PSDK\NoRedist\Win64\AMD\ to where they belong (don't really know) I put them in Windows\System32</p> <p>information take from <a href="http://social.msdn.microsoft.com/Forums/en-US/Vsexpressvc/thread/d0770dde-56e5-4a28-acb0-30908c0f7ebd" rel="nofollow noreferrer">http://social.msdn.microsoft.com/Forums/en-US/Vsexpressvc/thread/d0770dde-56e5-4a28-acb0-30908c0f7ebd</a> Read this also : </p> <p><a href="http://www.codeproject.com/KB/system/64BitOSAndPortingIssues.aspx" rel="nofollow noreferrer">http://www.codeproject.com/KB/system/64BitOSAndPortingIssues.aspx</a></p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload