Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

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

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.