如何将窗口服务从32位计算机转换为64位计算机

编程入门 行业动态 更新时间:2024-10-26 14:31:56
本文介绍了如何将窗口服务从32位计算机转换为64位计算机的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

亲爱的朋友, 在这里,我编写了Windows Service的代码,该代码已经在32位计算机上开发了该服务,并且可以正常工作.现在,我正在尝试在64位计算机上安装相同的Windows Service安装程序.引用不是对象的实例.可能是由于程序集版本问题引起的错误.因此iam不会在iam做错的地方.如果有人对此有所了解,请共享信息. 问候, AnilKumar.D

Dear Friends, Here i have written the code for Windows Service that i have developed the Service in 32-bit computer its working fine.Now iam trying to install the Same Windows Service setup in 64-Bit computer.So the SetUp is not Installing the Error is Object Referrence is not an instance of an Object.May be the error is from the Assembly version problem.So iam not getting where iam doing wrong.if any body knows regarding this please share the Information. Regards, AnilKumar.D

推荐答案

在Windows Core 6.0及更高版本上,您甚至可以在x64操作系统中安装x86驱动程序,但是使用解析,这有点复杂.首先阅读以下内容: www.dottodotnet/2010/04/compiling-net-for-specific-target.html [ ^ ].您可以使用依赖步行者 [ ^ ],以检查是否存在由于平台目标不一致而无法加载的引用的Assambis. 最好的方法是将解决方案的发布目标设置为x64,并确保将第三方组件的x64或AnyCPU版本安装到目标计算机上. On windows core 6.0 and above you can have even x86 drivers in an x64 OS, but with assamblies it is a little bit complicated. First read this: www.dottodotnet/2010/04/compiling-net-for-specific-target.html[^]. You can use a dependency walker[^] to check if there are assambies referenced that cannot be loaded due to unconforming platform target. The best way is to set your solution''s release target to x64 and be sure to install third-party the x64 or AnyCPU version of the third party components to the target machine.

更多推荐

如何将窗口服务从32位计算机转换为64位计算机

本文发布于:2023-10-15 01:21:52,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1492822.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:计算机   转换为   如何将   窗口

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!