Knowledge Base

PRB: LoadTypeLib Does Not Register Type Library

Article ID: 131055

Article Last Modified on 12/3/2003


APPLIES TO


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