记录 某次开发 Arcgis Engine 启动可能遇到的错误
1.错误:ArcGIS version not specified. You must call RuntimeManager.Bind before creat
解决:ESRI.ArcGIS.RuntimeManager.Bind(ESRI.ArcGIS.ProductCode.EngineOrDesktop);
2.错误:无法嵌入互操作类型
解决:修改引用属性中嵌入互操作类型为:False.
3.错误:axTOCControl控件无显示
解决:执行:axTOCControl1.SetBuddyControl(axMapControl1)
4.添加引用
using ESRI.ArcGIS.Carto;
using ESRI.ArcGIS.Controls;
using ESRI.ArcGIS.esriSystem;
using ESRI.ArcGIS.Display;
using ESRI.ArcGIS.Geometry;
using ESRI.ArcGIS.SystemUI;