laptop and a wrench

漏洞

Repeated calls to ICommand::Refresh can crash ArcMap.

上次发布: August 25, 2014 No Product Found
漏洞 ID 编号 NIM007299
已提交March 9, 2007
上次修改时间June 5, 2024
适用范围No Product Found
找到的版本9.0
编程语言VBA
状态Will Not Be Addressed

附加信息

No Public Explanation

解决办法

Changed VBA code to skip toolcontrol and menus as follows to retest: Dim pCmdItem As ICommandItem Dim i As Integer For i = 0 To pCmdBar.Count - 1 Set pCmdItem = pCmdBar.Item(i) If (pCmdItem.Type = esriCmdTypeCommand) Then If Not pCmdItem.Command is Nothing Then If Not TypeOf pCmdItem.Command Is IToolControl Then pCmdItem.Refresh End If End If End If Next iIt seems to work but occasionally ArcMap still crashes or disappears.- When current tool is on the toolbar to be refreshed- Refreshing the commands on standard toolbar

重现步骤

漏洞 ID: NIM007299

软件:

  • No Product Found

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

下载 Esri 支持应用程序

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

获取来自 ArcGIS 专家的帮助

联系技术支持部门

下载 Esri 支持应用程序

转至下载选项