Microsoft KB Archive/131055

= PRB: LoadTypeLib Does Not Register Type Library =

Article ID: 131055

Article Last Modified on 12/3/2003

-

APPLIES TO

 Microsoft OLE 2.03 Microsoft OLE 4.0, when used with:  Microsoft Windows NT 4.0

 Microsoft Windows NT 3.51 Service Pack 5

 Microsoft Windows NT 4.0

 Microsoft Windows 95</li></ul>

 Microsoft Windows 2000 Standard Edition</li></ul> </li></ul>

-

<div class="notice_section">

This article was previously published under Q131055

<div class="symptoms_section">

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.

<div class="resolution_section">

RESOLUTION
RegisterTypeLib should be used to register a type library.

<div class="status_section">

STATUS
This behavior is by design.

Additional query words: 2.0 2.00

Keywords: kbprogramming kbprb KB131055

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.