ArcGIS Engine 9.3.1 Cached Directories are not accessible after being copied; errors are thrown.
上次发布: August 25, 2014ArcGIS Engine
漏洞 ID 编号
NIM058376
已提交
June 17, 2010
上次修改时间
June 5, 2024
适用范围
ArcGIS Engine
找到的版本
9.3.1
编程语言
C#
操作系统
Windows OS
操作系统版本
XP
修正版本
10
状态
Fixed
此漏洞已得到修复。 有关详细信息,请参阅“版本修复”和“其他信息”(如果适用)。
附加信息
The workflow as stated in the bug was not reproducible in ArcGIS Engine 10. The cache was reused correctly.
解决办法
Change the code to match the following: private void button2_Click(object sender, EventArgs e) { //IMapDocument pDoc = new MapDocumentClass(); //pDoc.Open(@"<a href="file:C:/jamie/temp2/SGID_U500_ShallowGroundWater_91333E9F-0A85-" target="_blank">C:\jamie\temp2\SGID_U500_ShallowGroundWater_91333E9F-0A85-</a>4E6E-BE6D-3B3B8504BFD4-2\SGID_U500_ShallowGroundWater.lyr", ""); //ILayer pLayer = pDoc.get_Map(0).get_Layer(0); ILayer pLayer = axMapControl1.Map.get_Layer(0);