Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

QueryInterface call in .NET (C#) 1

Status
Not open for further replies.

d00ape

Programmer
Apr 2, 2003
171
SE
I’m working with an ActiveX and it’s API has some samples on how to handle COM interfaces and so on.
How do I make the call QueryInterface in C#?

My C++ codline work like this:

hr = pMaterialField -> QueryInterface ( IID_ISFColorObject, (void**)ppDiffuseColor );
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top