| description | Learn more about: tlbid import attribute | |
|---|---|---|
| title | tlbid import attribute | |
| ms.date | 08/29/2019 | |
| f1_keywords |
|
|
| helpviewer_keywords |
|
|
| ms.assetid | 54b06785-191b-4e77-a9a5-485f2b4acb09 |
C++ Specific
Allows for loading libraries other than the primary type library.
#import type-library-dll tlbid( number )
number
The number of the type library in type-library-dll.
If multiple type libraries are built into a single DLL, it's 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