BUG: Oleview Hangs with Incorrect Typelib Viewer Registration

Last reviewed: November 19, 1997
Article ID: Q176938
The information in this article applies to:
  • Microsoft OLE Libraries included with: - Microsoft Win32 Software Development Kit (SDK) on the following

         platform:
         - Windows 95
    

SYMPTOMS

When attempting to view a type library, Oleview appears to hang and does not respond to user interaction. In addition, Task Manager shows that the Oleview.exe and Rpcss.exe processes combined are taking up nearly 100% of CPU time.

CAUSE

This problem is caused by an incorrect registration of the Iviewers.dll in- process server. Iviewers.dll contains the type library interface viewer object used by Oleview to parse the type library. The problem happens when the InProcServer32 entry for this object (under HKCR\CLSID\{57EFBF49-4A8B- 11CE-870B-0800368D2302}) points to an incorrect path. This exposes a bug in Oleview that causes it to try to load the viewer object in an infinite loop.

RESOLUTION

To resolve this problem, re-register Iviewers.dll. This DLL is supplied along with Oleview.exe as a part of either the platform SDK or the Visual C++ compiler. Locate the DLL on the machine, and register its objects by issuing the following command:

   Regsvr32 iviewers.dll

STATUS

Microsoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article. We are researching this bug and will post new information here in the Microsoft Knowledge Base as it becomes available.

Keywords          : LeTwoTls
Platform          : Win95
Issue type        : kbbug


================================================================================


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: November 19, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.