laptop and a wrench

Bug

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

Last Published: August 25, 2014 No Product Found
Bug ID Number NIM035946
SubmittedJune 7, 2008
Last ModifiedJune 5, 2024
Applies toNo Product Found
Version found9.2
Program languageJava
StatusWill Not Be Addressed

Additional Information

No Public Explanation

Workaround

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)]

Steps to Reproduce

Bug ID: NIM035946

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