将32位应用程序转换为64位应用程序 [英] Convert 32 bit application to 64 bit application

查看:715
本文介绍了将32位应用程序转换为64位应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我希望ASP.net应用程序可以在64位OS上运行.我的ASP.net应用程序使用本机代码的C#和C ++代码类库.我需要在编译时将此代码转换为64位代码才能获得64位OS的优势.

在我的应用程序中,有许多Windows应用程序,是否需要将其代码转换为64位.

请说明,仅C ++,C#中的类库以及C#和VC ++中的Windows应用程序需要转换.而ASP.net应用程序不必转换为64位.

OM ..

Hi All,

I want ASP.net application to work on 64 bit OS. My ASP.net application uses C# and C++ code class library of native code. Do i need to convert this code into 64 bit code while compiling to get advantage of 64 bit OS.

In My application there are number of windows application, Do I need to convert its code into 64 bit.

Please clarify that only class library in C++,C# and windows application in C# and VC++ need to convert. While ASP.net application need not chnage to 64 bit.

OM..

推荐答案

您需要将C ++非托管代码转换为64位. 请注意,根据您的C ++代码库的复杂性,这可能并非易事.
有关更多信息,请参见以下链接:
Microsoft-64位系统
Intel-通用64位集合错误

对于C#代码,您可以轻松地将平台目标设置为x64并构建模块.您需要确保所有外部非托管模块也是x64.
Microsoft-将托管的32位转换为64位

您还需要将您的Web应用程序转换为64位.并不是如果您不使用任何外部非托管库,就可以将其保留为任何CPU".
You will need to convert your C++ unmanaged code to 64bit.
Be aware that this may be non-trivial depending on the complexity of your C++ codebase.
See these links for more information:
Microsoft - 64bit systems
Intel - Collection of common 64 bit errors

As for C# code, you can easily set the platform target to x64 and build the modules. You need to ensure that any external unmanaged modules are x64 as well.
Microsoft - Convert 32 bit managed to 64 bit

You would also need to convert your web app to 64 bit. Not that you could leave it as "Any CPU" if you were not using any external unmanaged libraries.


这篇关于将32位应用程序转换为64位应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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