2 messages in net.java.dev.jna.usersRe: [jna-users] Array of Structure el...
FromSent OnAttachments
ZipliesJan 21, 2008 3:32 pm 
Timothy WallJan 21, 2008 3:52 pm 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: [jna-users] Array of Structure elements in contiguous memoryActions...
From:Timothy Wall (twal@dev.java.net)
Date:Jan 21, 2008 3:52:04 pm
List:net.java.dev.jna.users

you're working too hard. All you need is "new INPUT().toArray (size)", which will give you an initialized array (no need to create each element).

On Jan 21, 2008, at 6:33 PM, Ziplies wrote:

I know that I can Array a Structure through .toArray, but that just gives me an Array of this one element. How do I put the second in this Array? I tried using .toArray(2) and setting the second one, but error.