D
dragonslayer008
I recently added some new code files to a C++/CLI project. The added
code is all native. I simply added the code to the project and built
it. It compiled fine but I am getting the linker error:
LNK2022: metadata operation failed (8013118D) : Inconsistent layout
information in duplicated types (IDirect3DDevice9): (0x0200015b)
I get this in three .obj files. Each file has a different class, but
each class holds a member to an IDirect3DDevice9 pointer. But I'm not
sure why this throws a LNK2022 error, which seems to have to do with
defining classes of the same name.
code is all native. I simply added the code to the project and built
it. It compiled fine but I am getting the linker error:
LNK2022: metadata operation failed (8013118D) : Inconsistent layout
information in duplicated types (IDirect3DDevice9): (0x0200015b)
I get this in three .obj files. Each file has a different class, but
each class holds a member to an IDirect3DDevice9 pointer. But I'm not
sure why this throws a LNK2022 error, which seems to have to do with
defining classes of the same name.