I am relatively new to Visual C++ and require your help on this.

I have C++ code which is required to run on both 32-bit and 64-bit Windows. Can I use Visual C++ 2.0 to compile the C++ code or I would need Microsoft Visual C++ 2005 to do this

The http://en.wikipedia.org/wiki/Visual_C++ says that Visual Studio 2005 Standard and Professional editions have x64 compiler support .But currently, I have only Visual C++ 2.0 . Can 64-bit compilation work with 2.0 or I necessarily have to go in for Microsoft Visual C++ 2005

Thank you very much in advance!

Re: Visual C++ General Reg 64-bit support


You really should upgrade, and not only because of the x64 support. VC2 is horribly outdated, including the standard libraries, language support and so forth. A great deal of bugs have also been fixed throughout the last decade (or one and a half decade), so anything prior to (and in my eyes including) VC6 should be scrapped unless you need to do 16bit development.

And no, you will not be able to compile x64 code with the 2.0 compiler. You will however be able to run x86 code on x64 architecture, so if all you need is executable compatibility -- there's no need to upgrade.