laptop and a wrench

Bug

GxDialog.DoModalOpen() crashes if it is used in a stand-alone application.

Zuletzt veröffentlicht: August 25, 2014 No Product Found
Bug-ID-Nummer NIM000430
EingereichtNovember 23, 2005
Zuletzt geändertApril 2, 2025
Gilt fürNo Product Found
Gefunden in Version9.1
ProgrammspracheAll
StatusNon-Reproducible

Zusätzliche Informationen

No Public Explanation

Workaround

1. Rename or unregister the fmearcgisext.dll (usually in C:\Program Files\ArcGIS\Data Interoperability Extension) and rename it to something else. (This is the dll associated with the Data Interoperability Extension, so using this workaorund will disable that extention).2. C# workaround (setting the StartingLocation propery on the GxDialog) seems to work as a workaround. This only works in C#: private void btnOpenGxDialog_Click(object sender, System.EventArgs e) { ESRI.ArcGIS.CatalogUI.IGxDialog pGxDialog; ESRI.ArcGIS.Catalog.IEnumGxObject openedObj; ESRI.ArcGIS.Catalog.IGxObject pGxObject; string pStartLoc; pStartLoc = @"C:\test_data\shapefiles"; object pGxPath; pGxPath = pStartLoc; pGxDialog = new ESRI.ArcGIS.CatalogUI.GxDialogClass(); pGxDialog.ObjectFilter = new ESRI.ArcGIS.Catalog.GxFilterFeatureClassesClass(); pGxDialog.AllowMultiSelect = false; pGxDialog.RememberLocation = true; pGxDialog.set_StartingLocation(ref pGxPath); pGxDialog.DoModalOpen (0, out openedObj); pGxObject = openedObj.Next(); }

Schritte zur Reproduzierung

Bug-ID: NIM000430

Software:

  • No Product Found

Benachrichtigung erhalten, wenn sich der Status eines Bugs ändert

Esri Support App herunterladen

Weitere Informationen zu diesem Thema erkunden

Unterstützung durch ArcGIS-Experten anfordern

An den technischen Support wenden

Esri Support App herunterladen

Zu Download-Optionen wechseln