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 适用环境:开发测试环境 在开发过程中,在开发环境中,一定会是一个对项目不断的修改.编译.部署.测试,查看测试结果,发现有问题,然后回到开发环境再修改.编译.部署 ...
随机推荐
- easyui placeholder 解决方案
最近,再用easyui的时候,发现easyui的input标签不支持h5的placeholder,为了实现这个效果,提供以下解决方案: 1.给input标签设置placeholder. <td& ...
- python 基础篇(一)--linux命令篇
期末下一门考试还有些时间,那就来看看python的视频吧,基于python2.7.6,用的是xubuntu(vm搭建虚拟机). 先花了2,3个小时安装了xubuntu,配置了搜狗输入法,gedit也配 ...
- linux学习笔记之套接字
一.基础知识. 1:套接字基础. 1,是通信端点的抽象. 2,在UNIX类系统中被当作是一种文件描述符. 3,套接字通信域. 域 描述 AF_INET IPV4因特网域 AF_INET6 IPV6因特 ...
- HDU-1049
Description An inch worm is at the bottom of a well n inches deep. It has enough energy to climb u i ...
- 从汇编看c++成员函数指针(三)
前面的从汇编看c++中成员函数指针(一)和从汇编看c++成员函数指针(二)讨论的要么是单一类,要么是普通的多重继承,没有讨论虚拟继承,下面就来看一看,当引入虚拟继承之后,成员函数指针会有什么变化. 下 ...
- Dom4j使用Xpath语法读取xml节点
我们可以使用Xpath的语法来轻易的读取xml的某个节点[类似于jQuery的选择器]: 使用Xpath语法需要添加新的jaxen-1.1-beta-7.rar 这个jar包 dom4j完整jar包我 ...
- ~/microwindows-0.89pre8/src/bin$ ./nano-X error:Cannot bind to named socket
GUI:microwindows-0.89pre8+nona-X you are successful compiling, run nano-X,below is information: ~/mi ...
- 重读LPTHW-Lesson25
1.ex25接触了字符串函数split().列表函数sorted().pop()函数,整理一下其用法以及其他常见的字符串.列表操作函数如下. (1)split()函数 split()是拆分字符串函数, ...
- nginx location的管理以及查找
关于nginx代码解析,我师兄雕梁的博客(http://simohayha.javaeye.com)有一系列的文章可以阅读.我这里将只介绍他博客里没有关注到的或者讲述不详细的,但是我个人又认为是ngi ...
- Oracle EBS-SQL (MRP-4):检查例外信息查询_建议取消_采购申请.sql
select msi.segment1 编码 ,msi.description 描述 ,mr.old_order_quantit ...
Note:
Note:
Note:
Note: