For
additional information about how to download Microsoft Support files, click the
following article number to view the article in the Microsoft Knowledge Base:
119591 How to Obtain Microsoft Support Files from Online Services
Microsoft scanned this file for viruses. Microsoft used the most
current virus-detection software that was available on the date that the file
was posted. The file is stored on security-enhanced servers that help to
prevent any unauthorized changes to the file.
An application may terminate unexpectedly
before removing monikers that it may have registered in the ROT. The stale
monikers that it leaves in the ROT will not correspond to running objects.
Stale monikers in the ROT will not affect the binding of a moniker because OLE
will never return the object that corresponds to a stale moniker. Therefore an
application need not worry about removing its stale monikers from the ROT if it
unexpectedly terminates.
For example, if the ROT has two objects with
the same moniker and if one of the objects unexpectedly terminates,
IRunningObjectTable::GetObject will return the other object. If another valid
object with the same moniker does not exist, IRunningObjectTable::GetObject
will return MK_E_UNAVAILABLE.
A tool like ROTCLEAN that removes stale
monikers from the ROT is useful in debugging situations. Otherwise the system
will have to be rebooted to clean the ROT. ROTCLEAN uses a technique that may
not work in future versions, so source code is not included or available.
Moreover the technique may cause some buggy applications to shutdown
prematurely. ROTCLEAN will not work in Windows 3.x.