PRB: LoadTypeLib Does Not Register Type Library

ID: Q131055


The information in this article applies to:
  • Microsoft OLE Libraries for Windows and Win32s, version 2.03
  • Microsoft OLE Libraries, used with:
    • Microsoft Windows NT, versions 3.5, 3.51, 4.0
    • Microsoft Windows 95
    • Microsoft Windows 2000


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.

Additional query words: 2.0 2.00

Keywords : kbole kbprg kbNTOS350 kbNTOS351 kbNTOS400 kbWinOS2000 kbOLE200 kbWinOS95 kbprb
Version : WINDOWS:2.03,95; :
Platform : WINDOWS
Issue type :


Last Reviewed: October 26, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.