注册DLL [英] Registering DLL

查看:45
本文介绍了注册DLL的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在这里度过了一个不错的小截止日期,并且必须处理最糟糕的事情才能完成它。我必须创建一个应用程序,通过事件处理程序类将
拼接到另一个应用程序中。当

时,原始程序看到事件处理程序使用处理程序的代码

来执行我的代码(我也对处理程序进行编码)。无论如何我已编码

所有这些当然它在本地工作但我不需要它工作

本地我需要它在另一台机器上工作FROM一个网络共享。


这会变得更好......


启动程序(被拼接)是在用户的'机器和

我需要在那里注册dll并且它拒绝与regasm,
regsvr32,或者与制造商发送的小程序一起拒绝。


我迫切需要注册这个dll所以我可以处理什么是

将成为集成本地事件处理程序

的下一个问题联网计划。

I''ve got a nice little deadline here and have to deal with the dumbest
things possible to get it done. I had to create an application that
is spliced into another application via an event handler class. When
the original program sees the event handler is uses the handler''s code
to execute my code (I code the handler as well). Anyway I''ve coded
all this and of course it works locally but I don''t need it to work
locally I need it to work on another machine FROM a network share.

This gets better though...

The starting program (being spliced into) is on the user''s machine and
I need to register the dll there and it refuses to with regasm,
regsvr32, or with the little program the manufacturer sent with.

I desperately need to register this dll so I can deal with what is
going to be the next problem of integrating the local event handler
with the networked program.

推荐答案

" cfps.Christian" < ge ******* @ otc.eduschrieb:
"cfps.Christian" <ge*******@otc.eduschrieb:

我这里有一个很好的小截止日期,必须处理最愚蠢的事情/>
有可能完成任务。我必须创建一个应用程序,通过事件处理程序类将
拼接到另一个应用程序中。当

时,原始程序看到事件处理程序使用处理程序的代码

来执行我的代码(我也对处理程序进行编码)。无论如何我已编码

所有这些当然它在本地工作但我不需要它工作

本地我需要它在另一台机器上工作FROM一个网络共享。


这会变得更好......


启动程序(被拼接)是在用户的'机器和

我需要在那里注册dll,它拒绝与regasm,
regsvr32,或与制造商发送的小程序。
I''ve got a nice little deadline here and have to deal with the dumbest
things possible to get it done. I had to create an application that
is spliced into another application via an event handler class. When
the original program sees the event handler is uses the handler''s code
to execute my code (I code the handler as well). Anyway I''ve coded
all this and of course it works locally but I don''t need it to work
locally I need it to work on another machine FROM a network share.

This gets better though...

The starting program (being spliced into) is on the user''s machine and
I need to register the dll there and it refuses to with regasm,
regsvr32, or with the little program the manufacturer sent with.



通常,.NET DLL根本不需要注册。在不知道应该使用DLL的应用程序的情况下,它是不可能给出答案的。


-

MS Herfried K. Wagner

MVP< URL:http://dotnet.mvps.org/>

VB< URL:http://dotnet.mvps .org / dotnet / faqs />

Typically .NET DLLs do not need to be registered at all. Without knowing
the application which should use the DLL, it''s impossible to give an answer.

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/>


它听起来像文件共享上的COM dll,所以在概念上应该是

注册。错误是什么?这听起来像是一个商业产品,因此它是一个许可错误吗?如果他们发送了一个特殊的注册码,那么它就会显示他们有充分的理由来代码而不是regasm或regsvr32。

我讨厌说出来,但它听起来像你在制造商的怜悯。

" cfps.Christian"写道:
It sounds like a COM dll on a file share, so that conceptually should
register. What is the error? It sounds like a commercial product, so is it
a licensing error? If they sent a special registration code, then it would
seem that they had good reason for that code rather than regasm or regsvr32.
I hate to say it, but it sounds like you are at the manufacturers mercy.
"cfps.Christian" wrote:

我在这里有一个不错的小截止日期,并且必须处理最糟糕的

事情才能完成它。我必须创建一个应用程序,通过事件处理程序类将
拼接到另一个应用程序中。当

时,原始程序看到事件处理程序使用处理程序的代码

来执行我的代码(我也对处理程序进行编码)。无论如何我已编码

所有这些当然它在本地工作但我不需要它工作

本地我需要它在另一台机器上工作FROM一个网络共享。


这会变得更好......


启动程序(被拼接)是在用户的'机器和

我需要在那里注册dll并且它拒绝与regasm,
regsvr32,或者与制造商发送的小程序一起拒绝。


我迫切需要注册这个dll所以我可以处理什么是

将成为集成本地事件处理程序

的下一个问题网络程序。

I''ve got a nice little deadline here and have to deal with the dumbest
things possible to get it done. I had to create an application that
is spliced into another application via an event handler class. When
the original program sees the event handler is uses the handler''s code
to execute my code (I code the handler as well). Anyway I''ve coded
all this and of course it works locally but I don''t need it to work
locally I need it to work on another machine FROM a network share.

This gets better though...

The starting program (being spliced into) is on the user''s machine and
I need to register the dll there and it refuses to with regasm,
regsvr32, or with the little program the manufacturer sent with.

I desperately need to register this dll so I can deal with what is
going to be the next problem of integrating the local event handler
with the networked program.


" cfps.Christian" < ge ******* @ otc.eduwrote in message

news:11 ********************* @ v3g2000hsg .googlegrou ps.com ...
"cfps.Christian" <ge*******@otc.eduwrote in message
news:11*********************@v3g2000hsg.googlegrou ps.com...

我这里有一个不错的小截止日期,必须处理最笨的

的东西可以完成它。我必须创建一个应用程序,通过事件处理程序类将
拼接到另一个应用程序中。当

时,原始程序看到事件处理程序使用处理程序的代码

来执行我的代码(我也对处理程序进行编码)。无论如何我已编码

所有这些当然它在本地工作但我不需要它工作

本地我需要它在另一台机器上工作FROM网络共享。
I''ve got a nice little deadline here and have to deal with the dumbest
things possible to get it done. I had to create an application that
is spliced into another application via an event handler class. When
the original program sees the event handler is uses the handler''s code
to execute my code (I code the handler as well). Anyway I''ve coded
all this and of course it works locally but I don''t need it to work
locally I need it to work on another machine FROM a network share.



将dll或exes放在网络共享上是一个非常糟糕的主意。如果你想从某个中心位置更新你的应用程序,那么你可以写一些

自动安装。


迈克尔

Putting dlls or exes on a network share is a really bad idea. If you want
some way to update your app from a central location then write some sort of
automatic install.

Michael


这篇关于注册DLL的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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