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