laptop and a wrench

Bug

IEditEvents::OnSketchChanged event crashes ArcMap when existing feature is modified.

Last Published: August 25, 2014 No Product Found
Bug ID Number NIM006413
SubmittedJanuary 26, 2007
Last ModifiedJune 5, 2024
Applies toNo Product Found
Version found9.2
Program languageAll
Version Fixed10.0
StatusFixed

Workaround

Calling IEditor::StartEditing after IEditor::StopEditing eliminated the problem:If MsgBox("save your edits?", MsgBoxStyle.YesNo, "Save Changes") = MsgBoxResult.Yes Then m_pEditor.StopEditing(True) For LayerCount = 0 To pMap.LayerCount - 1 If TypeOf pMap.Layer(LayerCount) Is IFeatureLayer Then pFeatureLayer = pMap.Layer(LayerCount) pDataset = pFeatureLayer.FeatureClass m_pEditor.StartEditing(pDataset.Workspace) Exit For End If Next LayerCount

Steps to Reproduce

Bug ID: NIM006413

Software:

  • No Product Found

Get notified when the status of a bug changes

Download the Esri Support App

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options