“ win32项目”有什么关系?在Visual Studio中命名为x86或x64平台 [英] what's the relation of "win32 project" name in visual studio to x86 or x64 platform

查看:258
本文介绍了“ win32项目”有什么关系?在Visual Studio中命名为x86或x64平台的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用Visual Studio进行c ++编程,并且在x86环境(32位模式)中工作和编写程序之后,我尝试在x64环境中构建我的x86项目,因此我认为我应该创建一个win64控制台项目而不是win32控制台项目,但是VC2010中没有这样的选项。因此,我想问一下,对于构建x64项目,我还应该选择win32项目,并使用此处

I'm using Visual Studio for c++ programming, and after working and writing programs in x86 environment (32bit Mode) I tried to build my x86 project in x64 environment so I thought that I should create a win64 console project instead of win32 console project but there were not such as an option in VC2010 . so I want to ask that for building x64 projects I should also choose win32 project and change the settings for compiling in x64 inside the project using instruction in here?

我正在使用Windows 7 64bit。

I'm using windows 7 64bit.

如果您的答案是肯定的,那么为什么将其称为win32?

if your answer is yes then why it is called win32?

推荐答案


  • Win32是操作系统API的名称。

  • Win32控制台应用程序的名称来自API(而不是位)。

  • Win32 API可以被32位和64位应用程序使用。因此,可以为32位和64位构建Win32控制台应用程序。对于后者,在配置管理器中创建 x64配置。

    Win32 API can be used both by 32-bit and by 64-bit applications. So, a Win32 Console Application can be built both for 32-bit and for 64-bit. For the latter, create the "x64" configuration in the Configuration Manager.

    这篇关于“ win32项目”有什么关系?在Visual Studio中命名为x86或x64平台的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆