2 messages in net.java.dev.jna.usersRe: [jna-users] how to pass a bool *?
FromSent OnAttachments
Steve Sobol (JDN)Jan 8, 2009 8:23 pm 
Timothy WallJan 8, 2009 8:49 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] how to pass a bool *?Actions...
From:Timothy Wall (twal@dev.java.net)
Date:Jan 8, 2009 8:49:01 pm
List:net.java.dev.jna.users

Use one of the ByReference types, probably IntByReference, depending on your C definition/size of bool.

On Jan 8, 2009, at 11:24 PM, Steve Sobol (JDN) wrote:

I've tried instantiating Pointer and PointerType, but I can't... and I need to pass a bool * to a C function.

Thanks

Microsoft's new marketing slogan for Windows is "Life Without Walls." But if you have no walls, how can you have windows?