如何在32位计算机配置中制作64位dll [英] how to make 64 bit dll in 32 bit machine configation

查看:133
本文介绍了如何在32位计算机配置中制作64位dll的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

亲爱的开发人员,
如何在Visual Studio 2005/2008中以32位计算机配置运行和制作64位.Net DLL.我有32位计算机,但我的客户有64位计算机配置.我的32位dll无法在他的64位计算机配置中运行.在我的公司中,我们没有64位计算机.这是我使用Visual Studio 2005/2008在32位计算机配置中制作64位dll所面临的挑战.
请任何人帮助我......

谢谢进阶
Ravi Sharma

Dear Developer,
how to run and make the .Net DLL as a 64 bit in visual studio 2005/2008 in 32 bit machine configation. I have the 32 bit machine but my client have 64 bit machine configation. And my 32 bit dll not run in his 64 bit machine configation. In my company we don''t have 64 bit machine.then its my challenge to make 64 bit dll in 32 bit machine configation using visual studio 2005/2008.
Please anybody help me for this......

Thanks in advanced
Ravi Sharma

推荐答案

由于我没有尝试过,所以我不能保证,所以建议您先备份整个解决方案.
在VS中,打开您的解决方案.在菜单上,选择构建...配置管理器"
在对话框中,针对您的类库名称,在平台"列中,打开任何CPU"旁边的下拉菜单,然后选择< New ...>"
在新对话框中,选择"x64"和将设置复制自"到任何CPU".
确定"和关闭"
现在,您应该为x64编译,运气不错...
I can''t guarantee this as I haven''t tried, so I would recommend you backup your entire solution first.
In VS, open your solution. On the Menu, select "Build...Configuration manager"
On the dialog the appears, against you class library name, in the "Platform" column, open the drop down next to "Any CPU", and select "<New...>"
In the new dialog, select "x64" and "Copy Settings from" to "Any CPU".
"OK", and "Close"
You should now build for x64, with a bit of luck...


尝试此链接
运行32位应用程序WOW64 [
try this link
Running 32-bit Applications WOW64[^]


使用反射器应用程序可以对其进行转换.

只需在32位vs2008中打开您的dll代码,它将自动将其转换...
Using reflector application you can convert it.
or
just open your dll code in vs2008 32-bit it will automatically convert it...


这篇关于如何在32位计算机配置中制作64位dll的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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