logo       

Re: Marshaling a byte array by ref: msg#00020

windows.devel.jawin

Subject: Re: Marshaling a byte array by ref

I am not that familiar with JAWIN, so I can't tell you in detail how to
do this. But what I think you need to produce is a VARIANT with
VT_ARRAY|VT_UI1|VT_BYREF set and the data part of the variant pointing
to a SAFEARRAY structure that describes the array.

That's standard COM, anyway.

-----Original Message-----
From: Discussion of Java/Win32/COM integration with Jawin
[mailto:JAWIN@xxxxxxxxxxxxxxxxxxx] On Behalf Of Al Harper
Sent: Friday, July 14, 2006 12:11 PM
To: JAWIN@xxxxxxxxxxxxxxxxxxx
Subject: Re: [JAWIN] Marshaling a byte array by ref

I think I accidentally hit enter on last post prematurely.

Anyway to pick up where I left off.

I have tried almost every variation of the JAWIN Variant to accomodate
this
3rd parties COM API and so far all have been a bust. I have not tried
your
combination Paul. Just to make sure I get it right do yo umind typing up
a
sample JAVA code utilizing the 3 VT types and I'll try.

Al



<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise