Compiler Warning (level 3) C4278
Collapse the table of content
Expand the table of content
Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here. ArchiveDisclaimer

Compiler Warning (level 3) C4278

Error Message

'identifier': identifier in type library 'tlb' is already a macro; use the 'rename' qualifier

When using #import, an identifier in the typelib you are importing is attempting to declare an identifier identifier. However, this is already a valid symbol.

Use the #import rename attribute to assign an alias to the symbol in the type library.

© 2015 Microsoft