hexlax Posted January 23, 2008 Share Posted January 23, 2008 Hello board! Does anyone have any experience in porting code from 32bit to 64bit? Not even sure where I could begin. Would it be possible to code that determines this? Or do you have to create separate programs? Quote Link to comment Share on other sites More sharing options...
deleted Posted January 23, 2008 Share Posted January 23, 2008 It all depends on what program you use. I know some programs will accept either code on either platform and when compiled it will convert it automatically. Quote Link to comment Share on other sites More sharing options...
jollyrancher82 Posted January 24, 2008 Share Posted January 24, 2008 The only difference is the size of data types. Quote Link to comment Share on other sites More sharing options...
hexlax Posted January 24, 2008 Author Share Posted January 24, 2008 The only difference is the size of data types. Is there some sort of VC++ Express compiler option that can be used for this? Quote Link to comment Share on other sites More sharing options...
PoyBoy Posted March 19, 2008 Share Posted March 19, 2008 It needs the 64bit libraries to link with. As long as the function exists (is defined somewhere) then 32 bit code should compile and link on a 64bit setup. After all, as someone here said, the only thing that really changes, as far as i know, is the data type sizes. In visual Studio 2008, (I'm not using Express) find the build mode selector up top, which probably says Win32. Click the pop-down and choose config manager. For the active solution platform, choose new, then choose x64 from the list, coping settings from Win32. That worked for me Quote Link to comment Share on other sites More sharing options...
jollyrancher82 Posted March 19, 2008 Share Posted March 19, 2008 It needs the 64bit libraries to link with. As long as the function exists (is defined somewhere) then 32 bit code should compile and link on a 64bit setup. After all, as someone here said, the only thing that really changes, as far as i know, is the data type sizes. In visual Studio 2008, (I'm not using Express) find the build mode selector up top, which probably says Win32. Click the pop-down and choose config manager. For the active solution platform, choose new, then choose x64 from the list, coping settings from Win32. That worked for me Your signature animation says "I, for one, support good grammar", yet it has a "dont" which is missing an apostrophe. Quote Link to comment Share on other sites More sharing options...
PoyBoy Posted March 19, 2008 Share Posted March 19, 2008 whatever. Quote Link to comment Share on other sites More sharing options...
dejai Posted March 20, 2008 Share Posted March 20, 2008 Please note, the program will still work it just won't use all 64 bits. Quote Link to comment Share on other sites More sharing options...
Andrey Karpov Posted May 19, 2011 Share Posted May 19, 2011 where I could begin All about 64-bit programming in one place Quote Link to comment Share on other sites More sharing options...
Infiltrator Posted May 21, 2011 Share Posted May 21, 2011 Did a big of Googling and found these links that should give you an idea on how to write x64 bits apps using C++. http://www.google.com.au/#hl=en&biw=1920&bih=989&q=Writing+x64bit+apps+in+C%2B%2B&aq=f&aqi=&aql=f&oq=&bav=on.2,or.r_gc.r_pw.&fp=458a10716cc090e6 Quote Link to comment Share on other sites More sharing options...
PoyBoy Posted June 4, 2011 Share Posted June 4, 2011 wow, let sleeping dogs lie... Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.