Urgent - Passing byte array byte[] by variant examples
Al Harper <[email protected]> Thu, 27 Apr 2006 18:01:10 -0400
| Newsgroups | gmane.comp.windows.devel.jawin |
|---|---|
| Message-ID | <LISTSERV%[email protected]> |
Urgent help needed.
Does anyone have any JAWIN examples for marshalling a byte array by variant
using JAWIN?
This was my attempt that fails.
byte[] value = new byte[256];
value[0] = 0;
value[0] = 1;
Variant vValue = new Variant();
vValue.pbVal = value;
vValue.vt = VarTypes.VT_UI1 | VarTypes.VT_BYREF;
Thanks Al Harper