laptop and a wrench

Bogue

ArcMap crashes after successfully returning a call to ISchematicLayer.SchematicInMemoryDiagram.

Dernière publication: August 25, 2018 ArcObjects SDK
Numéro d’ID de bogue BUG-000116318
EnvoiAugust 23, 2018
Dernière modificationApril 9, 2025
S’applique àArcObjects SDK
Version trouvée10.6.1
Système d’exploitationWindows OS
Version du système d’exploitation7.0 64 Bit
StatutKnown Limit

Informations supplémentaires

Wrong pattern used in the code. Please see the article below: https://support.esri.com/en/technical-article/000018520 Pattern to follow: public void Execute(ISchematicLayer schematicLayer, ITrackCancel CancelTracker) { if (schematicLayer == null) return; // Before Execute part ISchematicInMemoryDiagram inMemoryDiagram; inMemoryDiagram = schematicLayer.SchematicInMemoryDiagram; // Core algorithm InternalExecute(schematicLayer, inMemoryDiagram, CancelTracker); // Release the COM objects if (inMemoryDiagram != null) while (System.Runtime.InteropServices.Marshal.ReleaseComObject(inMemoryDiagram) > 0) { } while (System.Runtime.InteropServices.Marshal.ReleaseComObject(schematicLayer) > 0) { } }

Étapes pour reproduire

ID de bogue: BUG-000116318

Logiciel:

  • ArcObjects SDK

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