Causes an .idl or .h file to be included in the generated .idl file.
[ includelib( name.idl ) ];
- The name of the .idl file that you want included as part of the generated .idl file.
For more information, see Attribute Contexts.
The includelib C++ attribute causes an .idl or .h file to be included in the generated .idl file, after the
The following code is shown in a .cpp file:
// cpp_attr_ref_includelib.cpp // compile with: /LD [module(name="MyLib")]; [includelib("includelib.idl")];