laptop and a wrench

Bogue

The ArcEngine Application works with InitializeEngine but throws an exception with InitializeVisualBeans when consuming the c++ component.

Dernière publication: August 25, 2014 No Product Found
Numéro d’ID de bogue NIM035946
EnvoiJune 7, 2008
Dernière modificationJune 5, 2024
S’applique àNo Product Found
Version trouvée9.2
Langue du programmeJava
StatutWill Not Be Addressed

Informations supplémentaires

No Public Explanation

Solution de contournement

As in the attached file (Resolution.zip), one can successfully use esrigeomerty.point in a SAFEARRAY in the function argument instead of the user defined data type. Note the it is a SAFEARRAY of IPoint* and not IPoint.e.g. HRESULT InsertPoints(SAFEARRAY(IPoint*) points);Also the idl file in the cpp project needs to have oleautomation keyword (check proxygenTest.idl)e.g.[ object, uuid(AA4B9F5F-A048-4600-B443-7A7C3CBC2281), oleautomation, pointer_default(unique)]

Étapes pour reproduire

ID de bogue: NIM035946

Logiciel:

  • No Product Found

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