0

I need to call unmanaged COM code from C#.NET. By loading unmanaged COM Type libraries from (LoadTypeLibEx), I am able to iterate over all exposed types by COM TLB. I need to know the addresses to call those exposed methods at runtime or by accessing the COM vtable's starting address and apply indexing for getting addresses of those exposed methods under interfaces.

4

1 回答 1

0

只是一个建议:

创建一个代理非托管 COM 服务器,它只使用一组固定的方法为您执行此操作,而不是在您的 c# 应用程序中使用此代理服务

于 2010-05-13T16:02:35.220 回答