Compartilhar via


Compiler Warning (level 3) C4192

 

The latest version of this topic can be found at Compiler Warning (level 3) C4192.

automatically excluding 'name' while importing type library 'library'

A #import library contains an item, name, that is also defined in the Win32 system headers. Due to limitations of type libraries, names such as IUnknown or GUID are often defined in a type library, duplicating the definition from the system headers. #import will detect these items and refuse to incorporate them in the .tlh and .tli header files.

To override this behavior, use #import attributes no_auto_exclude and include().