building WinXP x64 application

Hi want to compile/build a piece of code that was written in Visual Studio 6 for use under WinXP x64.

I would like to use my 32bit machine, compile and build and than put the exe on the 64bit system and test it there.

How can I do it, are there tutorials somewhere

Any help is appreciated

please help

Thanks
Maik



Answer this question

building WinXP x64 application

  • Fwank79

    If you are building a native C/C++ application with VC2003, it could just work on your 64bit machine. It could also not work. I have not tried running 32bit apps built with VC2003 on 64bit machines.

    The correct way of doing this though is to use VC2005 where a full support for 64bit applications is supported.

    Thanks,
      Ayman Shoukry
      VC++ Team



  • Ignus

    Maik,

    I've moved this to the C++ forum and hopefully someone there who understand more about C++ builds in 2003 than I do will be able to assist.

    Neil

  • Venkatn

    If you just want to compile native C/C++ apps you only need the latest PSDK. Then cerate a makefile and compile it via the command-line.

    But I recommend to use VC2005: here you can compile/debug in the IDE...

    Greetings
      Jochen

  • almazv

    thanks Jochen,

    do you think that it would work to use VC2005 on a 32bit system and compile /build for 64 bit

    never made a makefile in windows, any tutorials, examples you know of

    thanks
    Maik


  • Jebat

    Yes, Visual C++ 2005 runs on a 32 bit system, and builds apps for 64 bit.

    -Kev

  • pecket

    HI Neil,

    thanks for your reply.

    I am using Visual Studio .net 2003 on a Windows XP Pro (32bit) machine.

    I have a peace of code that is written in C (not even C++) that I want to compile on the above machine to be used on a Windows XP Pro x64 that I got last week. It is equiped with the Pentium D 830 processors.

    I don"t have VS 2005 (was told it is not for sale yet, at least not the academic version, that my boss would allow me to buy)

    I found a lot of stuff on the web, ie. a very good description here http://www.toymaker.info/Games/html/64_bit.html

    All the desription I found were related to AMD processors,

    I installed the latest Platform SDK, do I also have to install the latest .net Framework SDK
    I still have the 1.1 installed that came with my installation disks for the Visual Studio .net 2003.

    The program I am trying to make run on x64 is just a console application, nothing fancy. It is a Finite Element solver and has to deal with numerics. I want to go to 64 bit, since I could actually use all the  8Gbyte of RAm that I put in the new machine. The problems I am trying to simulate are rather large.

    OK I hope that this information helps.

    Please let me know if you need to know more.

    thanks a lot



  • dougbryant

    Maik,

    Are you using native C++ code, or managed code (VB/C#)

    Neil

  • CassMori

    Also, are you saying you want to use Visual Studio 6 to do this Or do you have a copy of Visual Studio 2005

    Neil

  • building WinXP x64 application