9 messages in net.java.dev.jna.usersRe: [jna-users] mapping struct* as me...
FromSent OnAttachments
Ramiro BresciaJun 24, 2008 3:15 pm 
Timothy WallJun 24, 2008 3:51 pm 
Tim....@hitachigst.comJun 24, 2008 3:58 pm 
RWAD...@UP.COMJun 25, 2008 4:59 am 
Timothy WallJun 25, 2008 5:17 am 
Ramiro BresciaJun 25, 2008 6:42 am 
LYou...@gkservices.comJun 25, 2008 7:42 am 
LYou...@gkservices.comJun 25, 2008 7:48 am 
Tim....@hitachigst.comJun 25, 2008 8:50 am 
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] mapping struct* as member of structActions...
From:Timothy Wall (twal@dev.java.net)
Date:Jun 25, 2008 5:17:56 am
List:net.java.dev.jna.users

The field must extend Structure and implement Structure.ByReference.

On Jun 25, 2008, at 7:59 AM, RWAD@UP.COM wrote:

If the native signature is * structinside another struct, the Java signature can be just a class (that extends Structure) as a member variable of another class.

That is possible or I have to use a Pointer? I read again "Type Mapping" in the JNA Overview, and I belive that it is not possible.

Tanks in advance.