Compartilhar via


tlbid

 

The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.

The latest version of this topic can be found at tlbid. C++ Specific

Allows for loading libraries other than the primary type library.

Syntax

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

#import Attributes
#import Directive