laptop and a wrench

漏洞

Select tool is not cleaning up correctly in the ArcEngine VC++ appliication. (ArcGIS 10.0 and Visual Studio 2008).

上次发布: August 25, 2014 ArcGIS Engine
漏洞 ID 编号 NIM060932
已提交September 7, 2010
上次修改时间June 5, 2024
适用范围ArcGIS Engine
找到的版本10.1
编程语言VC++
操作系统Windows OS
操作系统版本7
修正版本10.1
状态Fixed

解决办法

The workaround is to only create the tool once and then switch between tools with the button clicks rather than creating an instance each time the button is clicked. PageLayoutClearCurrentTool(); if(m_pControlsCircleTool == NULL) { HRESULT hr =m_pControlsCurrentTool.CreateInstance(CLSID_ControlsNewRectangleTool); ASSERT(m_pControlsCurrentTool != NULL); m_pControlsCircleTool = m_pControlsCurrentTool; } else { m_pControlsCurrentTool = m_pControlsCircleTool; } PageLayoutSetCurrentTool();

重现步骤

漏洞 ID: NIM060932

软件:

  • ArcGIS Engine

当漏洞状态发生变化时获得通知

下载 Esri 支持应用程序

发现关于本主题的更多内容

获取来自 ArcGIS 专家的帮助

联系技术支持部门

下载 Esri 支持应用程序

转至下载选项