Share via


tlbid

C++ Specific

Allows for loading libraries other than the primary type library.

tlbid(number)

Parameters

  • number
    The number of the type library in filename.

Remarks

If multiple type libraries are built into a single DLL, it possible to load libraries other than the primary type library by using tlbid.

For example:

#import <MyResource.dll> tlbid(2)

is equivalent to:

LoadTypeLib("MyResource.dll\\2");

END C++ Specific

See Also

Reference

#import Attributes (C++)

#import Directive (C++)