ms-help://MS.MSDNQTR.v80.chs/MS.MSDN.v80/MS.VisualStudio.v80.chs/dv_vclang/html/e0fc4564-b6cf-4a36-bf51-6ccd7abd0a94.htm
ms-help://MS.MSDNQTR.v80.chs/MS.MSDN.v80/MS.VisualStudio.v80.chs/dv_vclang/html/787d1112-e543-40d7-ab15-a63d43f4030a.htm
C++ Specific
Used to incorporate information from a type library. The content of the type library is converted into C++ classes, mostly describing the COM interfaces.
#import "filename" [attributes]
#import <filename> [attributes]
Parameters
filename
Allows you to specify which type library you want to import. filename can be one of the following:
A type library (.tlb or .odl). file:, which indicates type library, can precede each filename.
// The progid of a control in the type library. Note that progid: can precede each progid. For example:
#import "progid:my.prog.id.1.5"
// The library ID of the type library. Note that