C#-FormApp:COMException错误#80040112。 [英] C#-FormApp: COMException Error #80040112.

查看:386
本文介绍了C#-FormApp:COMException错误#80040112。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述




我的程序无法在某些计算机上运行时遇到问题。它们具有基础知识,例如.Net框架。在尝试运行程序时,它会给出错误:

Hi,

I''m having a problem with my program not being able to run on certain computers. They have the basics, such as the .Net Frameworks. Upon trying to run the program, it gives the error:

展开 | 选择 | Wrap | 行号

推荐答案

另外,如果有的话可能,我想避免使用.NET的Publish部分,并且不需要安装程序。
Also, if at all possible, I would like to avoid using the Publish part of .NET, and remove the need for an installer.


你使用的是一些第三方DLL,即winsock.dll。 />
哪个不是每个人都有?
Well you are using some third party DLL, that winsock.dll.
Which not everyone has maybe?


是的,这是问题的一部分。但我确实将MSWINSCK.ocx包含在我的项目中,这应该是Winsock DLL所需要的。我还将DLL设置为Copy Local,它包含在项目中。我也尝试让这个人手动注册DLL,但是这些都没有工作。


感谢您的帮助。
Yes, that is part of what the problem is. But I did include the MSWINSCK.ocx as part of my project, which should be what is needed for the Winsock DLL. I also have the DLL set to Copy Local, and it is included with the project. I also tried having the person manually register the DLL, but none of these worked however.

Thanks for your help though.


这篇关于C#-FormApp:COMException错误#80040112。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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