Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » VT_SAFEARRAY support in SWT
VT_SAFEARRAY support in SWT [message #453277] Sun, 03 April 2005 20:10 Go to next message
Eclipse UserFriend
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 Go to previous message
Veronika Irvine is currently offline Veronika IrvineFriend
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
Previous Topic:Status Bar with SWT
Next Topic:FormLayout -- how do children request space?
Goto Forum:
  


Current Time: Fri Nov 22 10:50:07 GMT 2019

Powered by FUDForum. Page generated in 0.02122 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top