Visual C++ 64bit应用程序项目设置
Visual Studio 2005
This topic describes how to set up C++ applications to target 64-bit platforms using project configurations available in the Visual Studio Integrated Development Environment (IDE).
To develop 64-bit applications you must install one or both of the Visual C++ 64-bit compilers, otherwise 64-bit project configurations will not be available in the IDE. See Installing Visual Studio 64-bit Components for information.
|
Note |
|
64-bit tools are not available on Visual C++ Express Edition by default. To enable 64-bit tools on Visual C++ Express Edition, install the .NET Framework SDK in addition to Visual C++ Express Edition. Otherwise, an error occurs when you attempt to configure a project to target a 64-bit platform using Visual C++ Express Edition. |
The first procedure describes how to change the active project configuration to target 64-bit platforms using the Visual Studio IDE. The second procedure describes how to migrate Win32 project settings into a 64-bit project configuration.
To set up C++ applications to target 64-bit platforms
- Open the C++ project that you want to configure to target a 64-bit platform.
- Open the property pages for that project. For more information, see How to: Open Project Property Pages.
|
Note |
|
For .NET projects, make sure the Configuration Properties node, or one of its child nodes, is selected in the <Projectname> Property Pages dialog box. Otherwise, the Configuration Manager button remains disabled. |
- Click Configuration Manager to open the Configuration Manager Dialog Box.
- Click the Active Solution Platform list, and then select the <New…> option to open the New Solution Platform Dialog Box.
- Click the Type or select the new platform drop-down arrow, and then select a 64-bit platform.
|
Note |
|
In the New Solution Platform dialog box, you can copy existing project settings into the new 64-bit project configuration using the Copy settings from option. |
- Click OK. The platform you selected in the preceding step will appear under Active Solution Platform in the Configuration Manager dialog box.
- Click Close in the Configuration Manager dialog box, and then click OK in the <Projectname> Property Pages dialog box.
To copy Win32 project settings into a 64-bit project configuration
- When the New Solution Platform dialog box is open while you set up your project to target a 64-bit platform, click the Copy settings from drop-down arrow, and then select Win32. The following project settings are automatically updated on the project level:
- /MACHINE (Specify Target Platform) is set to /MACHINE:IA64 or /MACHINE:X64.
- Register Output is turned OFF. For more information, see Linker Property Pages.
- Target Environment is set to /env
x64 or /env
ia64. For more information, see MIDL Property Pages: General. - Validate Parameters is cleared and reset to the default value. For more information, see MIDL Property Pages: Advanced.
- If Debug Information Format was set to /ZI in the Win32 project configuration, then it is set to /Zi in the 64-bit project configuration. For more information, see /Z7, /Zi, /ZI (Debug Information Format).
- Values of WIN32 are replaced by WIN64 for /D (Preprocessor Definitions).
|
Note |
|
None of these project properties are changed if they are overridden on the file level. |
Visual Studio 2008
This topic describes how to set up C++ applications to target 64-bit platforms using project configurations available in the Visual Studio Integrated Development Environment (IDE).
To develop 64-bit applications you must install one or both of the Visual C++ 64-bit compilers, otherwise 64-bit project configurations will not be available in the IDE. See Visual Studio 64-bit Components for information.
|
|
|
64-bit tools are not available on Visual C++ Express by default. To enable 64-bit tools on Visual C++ Express, install the Windows Software Development Kit (SDK) in addition to Visual C++ Express. Otherwise, an error occurs when you attempt to configure a project to target a 64-bit platform using Visual C++ Express. |
The procedures in this topic describe how to change the active project configuration to target 64-bit platforms using the Visual Studio IDE, and how to migrate Win32 project settings into a 64-bit project configuration.
To set up C++ applications to target 64-bit platforms
- Open the C++ project that you want to configure to target a 64-bit platform.
- Open the property pages for that project. For more information, see How to: Open Project Property Pages.
|
|
|
For .NET projects, make sure the Configuration Properties node, or one of its child nodes, is selected in the <Projectname> Property Pages dialog box. Otherwise, the Configuration Manager button remains disabled. |
- Click Configuration Manager to open the Configuration Manager Dialog Box.
- Click the Active Solution Platform list, and then select the <New…> option to open the New Solution Platform Dialog Box.
- Click the Type or select the new platform drop-down arrow, and then select a 64-bit platform.
|
|
|
In the New Solution Platform dialog box, you can copy existing project settings into the new 64-bit project configuration using the Copy settings from option. |
- Click OK. The platform you selected in the preceding step will appear under Active Solution Platform in the Configuration Manager dialog box.
- Click Close in the Configuration Manager dialog box, and then click OK in the <Projectname> Property Pages dialog box.
To copy Win32 project settings into a 64-bit project configuration
- When the New Solution Platform dialog box is open while you set up your project to target a 64-bit platform, click the Copy settings from drop-down arrow, and then select Win32. The following project settings are automatically updated on the project level:
- /MACHINE (Specify Target Platform) is set to /MACHINE:IA64 or /MACHINE:X64.
- Register Output is turned OFF. For more information, see Linker Property Pages.
- Target Environment is set to /env
x64 or /env
ia64. For more information, see MIDL Property Pages: General. - Validate Parameters is cleared and reset to the default value. For more information, see MIDL Property Pages: Advanced.
- If Debug Information Format was set to /ZI in the Win32 project configuration, then it is set to /Zi in the 64-bit project configuration. For more information, see /Z7, /Zi, /ZI (Debug Information Format).
|
|
|
None of these project properties are changed if they are overridden on the file level. |
Visual C++ 64bit应用程序项目设置的更多相关文章
- 用于 Visual Studio 和 ASP.NET 的 Web 应用程序项目部署常见问题
https://msdn.microsoft.com/zh-cn/library/ee942158(v=vs.110).aspx#can_i_exclude_specific_files_or_fol ...
- 如何:使用 Visual Studio 中的一键式发布来部署 Web 应用程序项目
原文: 如何:使用 Visual Studio 中的一键式发布来部署 Web 应用程序项目 本主题介绍如何在以下产品中使用 一键式发布 发布(部署)Web 应用程序项目: Visual Studio ...
- 中小研发团队架构实践之生产环境诊断工具WinDbg 三分钟学会.NET微服务之Polly 使用.Net Core+IView+Vue集成上传图片功能 Fiddler原理~知多少? ABP框架(asp.net core 2.X+Vue)模板项目学习之路(一) C#程序中设置全局代理(Global Proxy) WCF 4.0 使用说明 如何在IIS上发布,并能正常访问
中小研发团队架构实践之生产环境诊断工具WinDbg 生产环境偶尔会出现一些异常问题,WinDbg或GDB是解决此类问题的利器.调试工具WinDbg如同医生的听诊器,是系统生病时做问题诊断的逆向分析工具 ...
- Web 应用程序项目与 Visual Studio 中的网站项目的异同
要查看英语原文,请勾选“英语”复选框.也可将鼠标指针移到文本上,在弹出窗口中显示英语原文. 翻译 英语 本文档已存档,并且将不进行维护. Web 应用程序项目与 Visual Studio 中的网站项 ...
- 在 Visual Studio 2013 中创建 ASP.NET Web 项目(1):概述 - 创建 Web 应用程序项目
注:本文是“在 Visual Studio 2013 中创建 ASP.NET Web 项目”专题的一部分,详情参见 专题导航 . 预备知识 本专题适用于 Visual Studio 2013 及以上版 ...
- 【微信小程序项目实践总结】30分钟从陌生到熟悉 web app 、native app、hybrid app比较 30分钟ES6从陌生到熟悉 【原创】浅谈内存泄露 HTML5 五子棋 - JS/Canvas 游戏 meta 详解,html5 meta 标签日常设置 C#中回滚TransactionScope的使用方法和原理
[微信小程序项目实践总结]30分钟从陌生到熟悉 前言 我们之前对小程序做了基本学习: 1. 微信小程序开发07-列表页面怎么做 2. 微信小程序开发06-一个业务页面的完成 3. 微信小程序开发05- ...
- Android eclipse 运行项目设置程序默认安装到SD卡
Android eclipse 运行项目设置程序默认安装到SD卡 1.在Android手机启用USB调试功能 2.在Windows系统中打开命令提示符(开始菜单,选择运行,输入cmd回车即可),使用 ...
- 未能将基于用户的Visual C++项目设置保存到user文件错误的解决
作者:朱金灿 来源:http://blog.csdn.net/clever101 最近遇见一个诡异错误,将Win7家庭版升级到Win7旗舰版.然后使用原来安装的VS2008开发,保存工程时总是出现未能 ...
- 开发环境中biztalk项目设置注意事项(转)
适用版本:biztalk 2006 适用环境:开发测试环境 在开发过程中,在开发环境中,一定会是一个对项目不断的修改.编译.部署.测试,查看测试结果,发现有问题,然后回到开发环境再修改.编译.部署 ...
随机推荐
- ENOVIA 基础
Part 零件 Part Master PM 如何表示零件:每当创建一个Part(给定一个Part Number),都回创建一个Part Master Part Master管理每个Part的最本质的 ...
- php中Maximum execution time of 120 seconds exceeded时间超时错误解决方案
1.修改php的配置文件,找到php.ini文件 max_execution_time = 120 ;//设置成你想要的值,单位是秒 2.使用ini_set()函数,使用这个函数来改变你的最大执行时间 ...
- Servlet基础之一:Servlet基本接口与类
1.概述 Servlet API中共有5个包,约113个接口和类: javax.servlet javax.servlet.http javax.servlet.jsp javax.servlet.a ...
- MSSQL 获取数据库字段类型
SELECT col.name AS 列名, typ.name as 数据类型, col.max_length AS 占用字节数, col.precision AS 数字长度, col.scale A ...
- webservice跨服务器上传附件
最近一个项目,用到文件上传功能,本来简单地使用upload控件直接post到服务器保存,简单实现了.后来考虑到分布是部署,静态附件.图片等内容要单独服务器(命名为B服务器,一台,192.168.103 ...
- Java多线程编程总结(精华)
Java多线程编程总结 2007-05-17 11:21:59 标签:多线程 java 原创作品,允许转载,转载时请务必以超链接形式标明文章 原始出处 .作者信息和本声明.否则将追究法律责任.http ...
- C++中的类和对象(二)
一,对象的动态建立和释放 1.什么是对象的动态建立和释放 通常我们创建的对象都是由C++编译器为我们在栈内存中创建的,我们无法对其进行生命周期的管理.所以我们需要动态的去建立该对象,因此我们需要在堆内 ...
- Moodle的qq登录版块的使用
在这篇Moodle的qq登录(QQ登陆)版块的使用教程中,我们假定你已经有了一个有域名,外网能访问的Moodle2.4+网站,并且数据库使用的是mysql. 我们将提供Moodle的QQ登录版块的下载 ...
- 【转】浏览器中的data类型的Url格式,data:image/png,data:image/jpeg!
所谓"data"类型的Url格式,是在RFC2397中 提出的,目的对于一些"小"的数据,可以在网页中直接嵌入,而不是从外部文件载入.例如对于img这个Tag, ...
- 局域网内IP冲突怎么办
对于在Internet和Intranet网络上,使用TCP/IP协议时每台主机必须具有独立的IP地址,有了IP地址的主机才能与网络上的其它主机进行通讯.但IP地址冲突会造成网络客户不能正常工作,只 ...
Note:
Note:
Note:
Note: