使.Net Winform与32位和64位计算机兼容的应用程序 [英] Making .Net Winform, application compitable with 32 and 64 bit machine

查看:126
本文介绍了使.Net Winform与32位和64位计算机兼容的应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好朋友

我希望我的.net应用程序可与任何计算机(32位和64位)一起使用.当我使用安装程序通过sql express 2005和其他必需的依赖项安装应用程序时,该怎么办.它在32位计算机上正常工作,但在64位计算机上安装失败.因此,如果有人可以为我和所有其他人提出解决方案,那将是不二之选.

另一个问题是与在Windows Vista OS计算机(32位)上手动安装SQL Express 2005时使用的应用程序相同,但安装正常,但是当使用我的c#安装程序(使用c#中的代码安装所有必需的安装程序)安装时,安装失败.谁能解决我这个问题.


谢谢
帕夫内什·坎杜里(Pavnesh Khandury)
(开发人员)

Hello friends

I want my .net application working with any machine(32bit and 64 Bit). What should I do for it as I m using an installer which installs my application with sql express 2005 and other required dependencies. It works fine on 32 bit machine but setup get failed in 64 bit machine. So if any body could suggest solution for me and all others, it would be appreciable.

On another issue is with same application as when I install SQL Express 2005 on Windows Vista OS machine(32bit) manually it get installed fine but when I install it using My c# installer(installing all required setup using code in c#), It gets failed. Could any one solve my this problem.


With Thanks
Pavnesh Khandury
(Developer)

推荐答案

在32位以下编译应用程序时,它仍然可以在64位计算机上运行.我认为最好是创建一个自定义安装程序,然后让用户选择是否要以32位或64位应用程序安装.

然后,您所需要做的就是为32位和64位操作系统编译应用程序.
When you compile your application under 32bit it will still be able to run on a 64bit machine. I think it would be best if you just create a custom installer and give the user a choice if he/she would like to install it as 32 or 64bit app.

Then all you need to do is compile you app for both 32 and 64 bit OS.


这篇关于使.Net Winform与32位和64位计算机兼容的应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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