Adding a Windows Form with an ActiveX Control to a command which inherits from BaseCommand crashes ArcMap.
上次发布: August 25, 2014No Product Found
漏洞 ID 编号
NIM031555
已提交
January 24, 2008
上次修改时间
June 5, 2024
适用范围
No Product Found
找到的版本
9.2
编程语言
C#
状态
Will Not Be Addressed
开发团队已考虑过该问题或请求,并决定不会解决该问题。 问题的“其他信息”部分可能包含进一步说明。
附加信息
We apologize that we were unable to address this issue within the current product support cycle. If the issue continues to affect your work in a supported release, please contact Technical Support.
解决办法
Listen to the BeforeCloseDocument event and unload the Windows Form object by calling its Close method. Caveat: the command does not work anymore if user closes a document but leaves ArcMap running