IRunnableObject interface (objidl.h)

Enables a container to control the running of its embedded objects. In the case of an object implemented with a local server, calling the Run method launches the server's .EXE file. In the case of an object implemented with an in-process server, calling Run causes the object .DLL file to transition into the running state.


The IRunnableObject interface inherits from the IUnknown interface. IRunnableObject also has these types of members:


The IRunnableObject interface has these methods.


Retrieves the CLSID of a running object.

Determines whether an object is currently in the running state.

Locks an already running object into its running state or unlocks it from its running state. (IRunnableObject.LockRunning)

Forces an object to run.

Notifies an object that it is embedded in an OLE container, which ensures that reference counting is done correctly for containers that support links to embedded objects. (IRunnableObject.SetContainedObject)


Minimum supported client Windows 2000 Professional [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Target Platform Windows
Header objidl.h