本文介绍了如何获得指针的IUnknown在C#的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

.NET互操作包装COM对象到.NET对象(运行时可调用包装,的RCW),它隐藏平时界面查询。为了注册代表一个过滤器图与正在运行的对象表的COM对象,我需要它的IUnknown接口的(本地)地址(见的)

.NET interop wraps COM objects into .NET objects (runtime-callable wrappers, RCWs), which hide the usual interface querying. In order to register a COM object representing a filter graph with the Running Objects Table, I need the (native) address of its IUnknown interface (see How can I reverse engineer a DirectShow graph?).

所以,问题是:如何我可以得到一个COM对象的IUnknown指针在C#?

So the question is: How can I get a COM object's IUnknown pointer in C#?

推荐答案

使用的。

这篇关于如何获得指针的IUnknown在C#的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-16 03:12