May 9, 2006 #1 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 );
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 );
May 9, 2006 1 #2 B00gyeMan Programmer Jan 14, 2004 259 RO Use Marshal.QueryInterface . Upvote 0 Downvote