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:Ramiro Brescia (rami@datahost.com.ar)
Date:Jun 25, 2008 6:42:03 am
List:net.java.dev.jna.users

Timothy Wall escribió:

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.

--------------------------------------------------------------------- To unsubscribe, e-mail: user@jna.dev.java.net For additional commands, e-mail: user@jna.dev.java.net

------------------------------------------------------------------------

No virus found in this incoming message. Checked by AVG. Version: 8.0.101 / Virus Database: 270.4.1/1517 - Release Date: 24/06/2008 20:41

That is true. Thanks again.