error LNK2022: metadata operation failed (8013118D) : Inconsistent layout information in duplicated

  • Thread starter Thread starter Ole
  • Start date Start date
O

Ole

Compiling an older Visual C++ project with the .net compiler, enabling "use
managed extensions" I receive several of these errors, all seemingly having
to do with ATL template window classes.

Could anyone tell me under what circumstances this may happen?
Presently there is not a single line of managed code in the application,
using version Visual Studio 7.1.

Cheers,
Ole
 
Ole said:
Compiling an older Visual C++ project with the .net compiler, enabling "use
managed extensions" I receive several of these errors, all seemingly having
to do with ATL template window classes.

Could anyone tell me under what circumstances this may happen?
Presently there is not a single line of managed code in the application,
using version Visual Studio 7.1.

Cheers,
Ole
Most commonly: you include them both with DEBUG (or one of the
variations) defined and without.

Ronald Laeremans
Visual C++ team
 
Back
Top