Muokkaa

Jaa


include() import attribute

C++ Specific

Disables automatic exclusion.

Syntax

#import type-library include( "Name1" [,"Name2" ... ] )

Parameters

Name1
First item to be forcibly included.

Name2
Second item to be forcibly included (if necessary).

Remarks

Type libraries may include definitions of items defined in system headers or other type libraries. #import attempts to avoid multiple definition errors by automatically excluding such items. If some items shouldn't be excluded automatically, you may see Compiler Warning (level 3) C4192. You can use this attribute to disable the automatic exclusion. This attribute can take any number of arguments, one for each name of a type-library item to be included.

END C++ Specific

See also

#import attributes
#import directive