FIX: TYPE_E_CANTLOADLIBRARY Error on Win32s

Last reviewed: October 29, 1997
Article ID: Q131051
2.03 1.20 WINDOWS kbprg kbole kbfixlist kbbuglist kbfile

The information in this article applies to:

  • Microsoft OLE Libraries for Windows and Win32s, version 2.03
  • Microsoft Win32s version 1.20

SYMPTOMS

A 32-bit OLE Automation server that implements dual or vtable binding interfaces finds that loading the type library or a typeinfo from the type library fails under Win32s version 1.20 with this error:

   TYPE_E_CANTLOADLIBRARY

CAUSE

A problem in OpenFile in Win32s version 1.20 causes the search for STDOLE32.TLB to be done incorrectly.

STATUS

Microsoft has confirmed this to be a bug in Win32s version 1.20. This bug was corrected in Win32s version 1.30c, which can be obtained from the Microsoft Software Library by searching for PW1118.EXE.

You can find PW1118.EXE (size: 2530739 bytes) 
                       , a self-extracting file, on these services:

  • Microsoft's World Wide Web site on the Internet

          On the www.microsoft.com home page, click the Support icon
          Click Knowledge Base, and select the product
    
          Enter kbfile PW1118.EXE (size: 2530739 bytes) 
                                 , and click GO!
          Open the article, and click the button to download the file
    
    
  • Internet (anonymous FTP)

          ftp ftp.microsoft.com
          Change to the Softlib/Mslfiles folder
          Get PW1118.EXE (size: 2530739 bytes) 
    
  • The Microsoft Network

          On the Edit menu, click Go To, and then click Other Location
          Type "mssupport" (without the quotation marks)
          Double-click the MS Software Library icon
          Find the appropriate product area
          Locate and Download PW1118.EXE
    
  • Microsoft Download Service (MSDL)

          Dial (206) 936-6735 to connect to MSDL
          Download PW1118.EXE (size: 2530739 bytes) 
    

    For additional information about downloading, please see the following article in the Microsoft Knowledge Base:

       ARTICLE-ID: Q119591
       TITLE     : How to Obtain Microsoft Support Files from Online Services
    

  • Additional reference words: 2.0 2.00
    KBCategory: kbprg kbole kbfixlist kbbuglist kbfile
    KBSubcategory: LeTwoArc
    Keywords : LeTwoArc kbbuglist kbfile kbfixlist kbole kbprg
    Version : 2.03 1.20
    Platform : WINDOWS
    Solution Type : kbfix


    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: October 29, 1997
    © 1998 Microsoft Corporation. All rights reserved. Terms of Use.