Re: .Net DLL only accepts ByteArray(1 to 32)
- From: "Stephany Young" <noone@localhost>
- Date: Tue, 19 Apr 2005 20:30:29 +1200
Dim aData(31) As Byte
"Benjamin Lukner" <Benjamin.Lukner_at_trinomix.de@xxxxxxxxxxxxx> wrote in
message news:%23frHNhLRFHA.1476@xxxxxxxxxxxxxxxxxxxxxxx
> Hi!
>
> I'm using a .Net DLL that's referenced by my project.
> The strange thing is that the DLL vendor uses byte arrays of 32 bytes
> length having a lower bound of 1 to read and write data!
>
> The only way I've found to create such an array is
>
> Dim aData As System.Array = _
> System.Array.CreateInstance( _
> GetType(System.Byte), _
> New Integer() {32}, _
> New Integer() {1})
>
> Does anyone know a neater way to do it?
>
>
> Kind regards,
>
> Benjamin Lukner
.
- Follow-Ups:
- Re: .Net DLL only accepts ByteArray(1 to 32)
- From: Benjamin Lukner
- Re: .Net DLL only accepts ByteArray(1 to 32)
- References:
- .Net DLL only accepts ByteArray(1 to 32)
- From: Benjamin Lukner
- .Net DLL only accepts ByteArray(1 to 32)
- Prev by Date: .Net DLL only accepts ByteArray(1 to 32)
- Next by Date: Re: dbf and pocket PC
- Previous by thread: .Net DLL only accepts ByteArray(1 to 32)
- Next by thread: Re: .Net DLL only accepts ByteArray(1 to 32)
- Index(es):
Relevant Pages
|
Loading