Compiler Warning (level 3) C4278

 

The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.

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

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.

Show: