Need to Find the COM DLL from an interop dll

左心房为你撑大大i 提交于 2019-12-07 23:25:53

问题


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.


回答1:


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")]


来源:https://stackoverflow.com/questions/20301820/need-to-find-the-com-dll-from-an-interop-dll

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!