VT_SAFEARRAY support in SWT [message #453277] |
Sun, 03 April 2005 20:10 |
Eclipse User |
|
|
|
Originally posted by: e_dot_wright.free.fr
Hello world
I get an SWTException saying VT_SAFEARRAYs are unsupported if I call a
COM object which returns them.
For testing, to play it safe, I created a safe array in one COM method,
calls that method from Java using SWT so my data was in a Variant, then
passed that as an arg to another COM method which took a safe array. No
luck, boom exception.
I really need VT_SAFEARRAY to work in SWT, does anyone know if this is
planned at all, perhaps for with Eclipse 3.1? Or are there any
work-arounds, which don't involve changing my native code's COM API?
Thanks,
e
|
|
|
Re: VT_SAFEARRAY support in SWT [message #453287 is a reply to message #453277] |
Mon, 04 April 2005 17:41 |
Veronika Irvine Messages: 1272 Registered: July 2009 |
Senior Member |
|
|
See:
http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.swt.sni ppets/src/org/eclipse/swt/snippets/Snippet186.java?rev=HEAD& amp;content-type=text/vnd.viewcvs-markup
and:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=10977
"projectiris" <e_dot_wright@free.fr> wrote in message
news:d2pip0$vl3$3@news.eclipse.org...
> Hello world
>
> I get an SWTException saying VT_SAFEARRAYs are unsupported if I call a COM
> object which returns them.
>
> For testing, to play it safe, I created a safe array in one COM method,
> calls that method from Java using SWT so my data was in a Variant, then
> passed that as an arg to another COM method which took a safe array. No
> luck, boom exception.
>
> I really need VT_SAFEARRAY to work in SWT, does anyone know if this is
> planned at all, perhaps for with Eclipse 3.1? Or are there any
> work-arounds, which don't involve changing my native code's COM API?
>
> Thanks,
>
> e
|
|
|
Powered by
FUDForum. Page generated in 0.03003 seconds