PRB: IROT::IsRunning() Returns S_FALSE for OLE 1.0 ServersLast reviewed: May 17, 1995Article ID: Q109544 |
The information in this article applies to:
SYMPTOMSWhen an OLE 2.0 container application calls IRunningObjectTable::IsRunning() on the moniker for a linked OLE 1.0 object, IsRunning() returns S_FALSE even if that OLE 1.0 object is already running.
CAUSEOLE 1.0 objects do not register themselves in the running object table while they are running.
RESOLUTIONCalling IMoniker::IsRunning() on the moniker for a linked OLE 1.0 object correctly returns S_OK if the object is indeed running. As noted in the OLE SDK version 2.01 documentation for IRunningObjectTable::IsRunning(), clients of a moniker should not call IRunningObjectTable::IsRunning() directly; instead, they should call IMoniker::IsRunning().
|
Additional reference words: 2.01 3.50 4.00 irot
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |