1.

What Happens When Client Calls Cocreateinstance?

Answer»
  • Reads RootClassesProgId for the matching ProgID
  • Reads RootClassesProgId for the matching CLSID. The CLSID is READ from the above step.
  • From the CLSID key, the server type and image filename is known.
  • 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.



Discussion

No Comment Found