Reputation: 804
i have 32 bit windows 7 and I am using visual studio 2010 express.
Is it possible to create a solution for a 64 bit platform?
If it is possible, how is it done?
Upvotes: 2
Views: 147
Reputation: 150148
If you write managed code and target AnyCPU, the code will be jitted to appropriate assembly for the platform it's executed on
To directly target 64 bit apps from Visual Studio Express, install Windows Software Development Kit (SDK) in addition to Visual C++ Express.
http://msdn.microsoft.com/en-us/library/9yb4317s.aspx
Upvotes: 2
Reputation: 2691
cl64.exe itself is a 32 bit program. It just produces 64 bit code. In Visual Studio create a Win32 project, and create a new target platform in the configuration manager.
Upvotes: 0
Reputation: 8164
Maybe "How to: Enable a 64-Bit Visual C++ Toolset at the Command Line" at MSDN helps, but it's for VS2010 not express. Basically it's all about having a cross compiler.
Edit: In addition to that, there is also How to: Configure Visual C++ Projects to Target 64-Bit Platforms.
Upvotes: 0