COM DCOM Question:
Download Questions PDF

What happens when client calls CoCreateInstance?


- Reads Root\Classes\ProgId for the matching ProgID
- Reads Root\Classes\ProgId for the matching CLSID. The
CLSID is read from the above step.
- From the CLSID key, the server type and image filename is
- Depending upon the server type, it starts the server.
- Calls CoGetClassObject function to get a handle to the
factory object.
- Then calls createinstance on the factory interface to get
the pointer to the derived object.

Download COM DCOM Interview Questions And Answers PDF

Previous QuestionNext Question
What should QueryInterface functions do if requested object was not found?How to create an instance of the object in COM?