Registration Functions

These functions let you identify a running instance of an object. Because they use the OLE object table (GetRunningObjectTable), they also require Ole32.dll.

When an application is started with the /Automation switch, it should initialize its Application object as the active object by calling RegisterActiveObject after it initializes OLE.

Applications can also register other top-level objects as the active object. For example, an application that exposes a Document object may want to let ActiveX clients retrieve and modify the currently active document.

For more information about registering the active object see Exposing ActiveX Objects.

In this section

Topic Description
Retrieves a pointer to a running object that has been registered with OLE.
Registers an object as the active object for its class.
Ends an object's status as active.