I have a unmanaged C++ application that builds just fine in Visual Studio 2003. I migrated this application to VS 2008 and have set the /clr option to enable mixed mode (managed and unmanaged) for future development. After getting rid of several error messages, I am now left with one: error
stdafx.obj : LNK2022: metadata operation failed (8013118D) : Inconsistent layout information in duplicated types (CCommDlgWrapper): (0x02000356)
which I just cannot figure out. I've searched the net and from what I understand it is most likely due to some badly designed structs and that the file mentioned in the error (stdafx.obj?) should be opened in Ildasm to figure out the duplicate struct information. However, opening this file in Ildasm returnes no information.
Any help would be greatly appreciated