Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Compiler Warning (level 3) C4192
Collapse the table of content
Expand the table of content

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().

Community Additions

© 2015 Microsoft