The ArcEngine Application works with InitializeEngine but throws an exception with InitializeVisualBeans when consuming the c++ component.
最後に公開された状態: August 25, 2014No Product Found
不具合 ID 番号
NIM035946
送信されました
June 7, 2008
最終更新日
June 5, 2024
適用対象
No Product Found
見つかったバージョン
9.2
プログラム言語
Java
ステータス
Will Not Be Addressed
開発チームは、この問題またはリクエストを検討した結果、これに対処しないことに決定しました。 問題の「参考情報」セクションに、さらに詳細な説明が示されていることがあります。
参考情報
No Public Explanation
対処法
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)]