Initializing Exposed Objects

To initialize OLE and the exposed objects, use the following functions:

  • OleInitialize — Initializes OLE.

  • CoRegisterClassObject — Registers the object's class factory with OLE so other applications can use it to create new objects.

  • RegisterActiveObject — Registers the active object so other applications can connect to an existing object.