用OCX或COM对象包装.NET DLL [英] Wrap .NET DLL with OCX or COM object

查看:146
本文介绍了用OCX或COM对象包装.NET DLL的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好,



我有一个USB设备,它有一个驱动程序,API dll是用.NET编写的。我想在一个ASP.NET Web应用程序中使用此设备。所以我想我需要OCX才能在客户端本地工作。但不幸的是我没有OCX.



有没有办法将.NET DLL包装在OCX或COM对象中?如何在GAC中注册并在ASP.NET页面中使用它?



我需要明确的步骤来支持它。



提前感谢您提供有价值的帮助。

Hi there,

I have one USB Device, and it has a driver and API dll has been written in .NET. I want to use this device inside one ASP.NET web application. so I guess I need OCX for it to work locally in the client. but unfortunately I don't have OCX for it.

Is there any way to wrap the .NET DLL in an OCX or COM object? How to register it in GAC and use it in the ASP.NET Page?

I need clear steps for it plz.

Thanks in advance for the valuable help.

推荐答案

BIUS小BIG代码var<
B I U S small BIG code var <
When answering a question please:
Read the question carefully.
Understand that English isn't everyone's first language so be lenient of bad spelling and grammar.
If a question is poorly phrased then either ask for clarification, ignore it, or edit the question and fix the problem. Insults are not welcome.
Let's work to help developers, not make them feel stupid.



> &安培;链接[^]编码untab缩进http://www.codeproject.com/script/Membership/View.aspx?mid=6122202在回答问题时请:

仔细阅读问题。

了解英语不是每个人的第一语言,所以要对拼写错误和语法不好。

如果问题措辞不当,那么要么澄清,要么忽略它,要么编辑问题和解决问题。不欢迎侮辱。

让我们来帮助你好,



我有一个USB设备,它有一个驱动程序和API dll已经用.NET编写。我想在一个ASP.NET Web应用程序中使用此设备。所以我想我需要OCX才能在客户端本地工作。但不幸的是我没有OCX.



有没有办法将.NET DLL包装在OCX或COM对象中?如何在GAC中注册并在ASP.NET页面中使用它?



我需要明确的步骤来支持它。



提前感谢您提供宝贵的帮助。

固定链接发布于18分钟前


> & link [^] encode untab indent http://www.codeproject.com/script/Membership/View.aspx?mid=6122202When answering a question please:
Read the question carefully.
Understand that English isn't everyone's first language so be lenient of bad spelling and grammar.
If a question is poorly phrased then either ask for clarification, ignore it, or edit the question and fix the problem. Insults are not welcome.
Let's work to help Hi there,

I have one USB Device, and it has a driver and API dll has been written in .NET. I want to use this device inside one ASP.NET web application. so I guess I need OCX for it to work locally in the client. but unfortunately I don't have OCX for it.

Is there any way to wrap the .NET DLL in an OCX or COM object? How to register it in GAC and use it in the ASP.NET Page?

I need clear steps for it plz.

Thanks in advance for the valuable help.
Permalink Posted 18 mins ago


这篇关于用OCX或COM对象包装.NET DLL的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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