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 3.51 Service Pack 5
- Microsoft Windows 2000 Standard Edition
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.
Additional query words: 2.0 2.00
Keywords: kbprogramming kbprb KB131055