Re: Marshaling a byte array by ref
Paul Schauble <[email protected]> Mon, 17 Jul 2006 13:59:16 -0700
| Newsgroups | gmane.comp.windows.devel.jawin |
|---|---|
| Message-ID | <0165EECEBB4CF745ACF095E1176B03EA07468453@SUNCA-EXB-AV1.ticketmaster.corp> |
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:[email protected]] On Behalf Of Al Harper Sent: Friday, July 14, 2006 12:11 PM To: [email protected] 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