Skip to content

Latest commit

 

History

History
45 lines (30 loc) · 946 Bytes

tlbid.md

File metadata and controls

45 lines (30 loc) · 946 Bytes
description title ms.date f1_keywords helpviewer_keywords ms.assetid
Learn more about: tlbid import attribute
tlbid import attribute
08/29/2019
tlbid
tlbid attribute
54b06785-191b-4e77-a9a5-485f2b4acb09

tlbid import attribute

C++ Specific

Allows for loading libraries other than the primary type library.

Syntax

#import type-library-dll tlbid( number )

Parameters

number
The number of the type library in type-library-dll.

Remarks

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

See also

#import attributes
#import directive