locked
QueryInterface calls RRS feed

  • Question

  • If I write a COM component in VB.NET, is there any way for me to tell what interfaces I'm being queried for?


    John
    Thursday, September 22, 2005 1:51 AM

Answers

  • The IUnknown implementation exposed to any COM clients is actually provided by the CLR's marshaller, which means it won't show up in your code anywhere.  Unfortunately that means that there is no easy way to figure out what QI calls are being made against your component.

    -Shawn

    Tuesday, September 27, 2005 3:16 PM