Hi-
I am upgrading a VS2010 C++ project for ArcGIS10.2 to VS2013 and ArcGIS10.3.1. Running on Win 7 Pro 64-bit and passed all hardware and OS recommendations for being able to run ArcGIS10.3.
In stdafx.h, there are imports for all ESRI libs, such as:
#import "c:\Program Files (x86)\ArcGIS\Desktop10.3\com\esriSystem.olb" raw_interfaces_only, raw_native_types, no_namespace, named_guids, exclude("OLE_COLOR", "OLE_HANDLE", "VARTYPE")
On build,
.\myprojectpath\debug\esrisystem.tlh(374): warning C4099: 'XMLSerializer' : type name first seen using 'class' now seen using 'struct'
1> C:\Program Files (x86)\Windows Kits\8.1\Include\um\mshtml.h(8463) : see declaration of 'XMLSerializer'
.\myprojectpath\debug\esrisystem.tlh(4210): error C3121: cannot change GUID for class 'XMLSerializer'
1> C:\Program Files (x86)\Windows Kits\8.1\Include\um\mshtml.h(8463) : see declaration of 'XMLSerializer'
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
So the class/struct is multiply defined between esri and system libs, but does anyone have an idea what to do about it?
Thank you for your help!