开发者

VS2008 pro + seven pro 64bits

开发者 https://www.devze.com 2022-12-09 14:19 出处:网络
I recently installed W7 pro 64bits on my laptop, and then VS2008 pro with x64 compatibility. If i build any project, will it be built with 32 or 64 bit compatibility natively?

I recently installed W7 pro 64bits on my laptop, and then VS2008 pro with x64 compatibility.

If i build any project, will it be built with 32 or 64 bit compatibility natively?

And then, is it possible to change from 32 to 64 (or from 64 to 32) ?

'Cause most of my clients only runs 32bits applications, but I'd also liked t开发者_StackOverflow中文版o know how to build x64 application, and how to switch from one case to the other.

Thanks,

KiTe.

ps : sorry for my poor english ^^


When you define the solution configurations in Visual Studio you also define the possible platforms. What this means is that you can compile debug or release, x86 or x64 as desired.

To do this, open the configuration manager. At the top you will see a dropdown for "Active solution configuration" and "Active solution platform". On the platform dropdown, if x64 isn't present, select and add x64 for 64 bit support.

Hope that helps.

Note, for C# in .NET, stick with "Mixed Platforms" and the program will run either 32 or 64 bit as the platform provides. You won't need to compile twice to get the support, the .NET framework will figure it out for you and run whichever is appropriate.

0

精彩评论

暂无评论...
验证码 换一张
取 消