Tushar Agrawal
How would you create an instance of the object in COM?
By Tushar Agrawal in COM Interop on Aug 01 2006
  • Tushar Agrawal
    Aug, 2006 1

    1. Well, it all depends on your project. Start your answer from CoCreateInstance or CoCreateInstanceEx, explain the difference between them. If interviewer is still not satisfied, you’ll have to explain the whole kitchen behind the scenes, including a difference between local server and inproc server, meaning and mechanism of class factory, etc. You may also mention other methods of object creation like CoGetInstanceFromFile, but discussion will likely turn to discussion of monikers then.

    • 0


Most Popular Job Functions


MOST LIKED QUESTIONS