laptop and a wrench

Bogue

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

Dernière publication: August 25, 2014 ArcGIS Engine
Numéro d’ID de bogue NIM060932
EnvoiSeptember 7, 2010
Dernière modificationJune 5, 2024
S’applique àArcGIS Engine
Version trouvée10.1
Langue du programmeVC++
Système d’exploitationWindows OS
Version du système d’exploitation7
Version de correction10.1
StatutFixed

Solution de contournement

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();

Étapes pour reproduire

ID de bogue: NIM060932

Logiciel:

  • ArcGIS Engine

Recevoir une notification lorsque le statut d’un bogue change

Télécharger l’application Esri Support

En savoir plus sur ce sujet

Obtenir de l’aide auprès des experts ArcGIS

Contacter le support technique

Télécharger l’application Esri Support

Accéder aux options de téléchargement