0

My C++ code is using CreateInstance(CLSID_CxSsampleObject). I'm rewriting my C++ component in C#. I need to use some legacy COM objects in my C# code. What is the equivalent of CreateInstance in C#. Also, what's the equivalent of QueryInterface in C#. Appreciate your help if you can point me to any articles on .NET interoperability.

codematrix
  • 1,521
  • 11
  • 34
  • 53

0 Answers0