需要从interop dll中找到COM DLL [英] Need to Find the COM DLL from an interop dll

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

问题描述

我在一个c#项目中有一个Interop dll,但我不能找到相应的COM dll与它相关联。请让我知道,如何从其interop dll找出实际的COM DLL。

I have a Interop dll in a c# project, But I am not able to findout the corresponding COM dll associated with it. Please let me know, how to find out the actual COM dll from its interop dll.

推荐答案


一种方法是在项目中使用其任何一个类。然后去定义它,这将带我们到元数据。我们可以记下GUID,然后在注册表中进行搜索,如果有的话,就像这个。

Got it. One way is to use any one of its class in the project. Then go to definition of it, which will take us to Metadata. we can note down the GUID and then search it in registry, if that is available, like this one.

namespace NETWORKLIST
{
[ClassInterface(0)]
[Guid("DCB00C01-570F-4A9B-8D69-199FDBA5723B")]
[ComSourceInterfaces("NETWORKLIST.INetworkEvents")]

这篇关于需要从interop dll中找到COM DLL的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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