PRB: LoadTypeLib Does Not Register Type Library (131055)



The information in this article applies to:

  • Microsoft OLE Libraries for Windows and Win32s 2.03
  • Microsoft OLE Libraries, when used with:
    • the operating system: Microsoft Windows NT 3.5
    • the operating system: Microsoft Windows NT 3.51
    • the operating system: Microsoft Windows NT 4.0
    • the operating system: Microsoft Windows 95
    • the operating system: Microsoft Windows 2000

This article was previously published under Q131055

SYMPTOMS

LoadTypeLib will not register the type library if the path of the type library is specified in the szFileName parameter. For backward compatibility, LoadTypeLib will register the type library if the path is not specified.

RESOLUTION

RegisterTypeLib should be used to register a type library.

STATUS

This behavior is by design.

Modification Type:MajorLast Reviewed:12/3/2003
Keywords:kbprb kbprogramming KB131055