7 messages in net.java.dev.jna.usersRe: [jna-users] Problem accessing Win...
FromSent OnAttachments
Michele CrociOct 29, 2007 8:05 am 
Timothy WallOct 29, 2007 11:54 am 
Michele CrociOct 30, 2007 4:08 am 
Timothy WallOct 30, 2007 6:50 am 
Michele CrociOct 30, 2007 8:50 am 
Michele CrociOct 31, 2007 10:05 am 
Michele CrociOct 31, 2007 10:15 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] Problem accessing Wintab32.dllActions...
From:Timothy Wall (twal@dev.java.net)
Date:Oct 29, 2007 11:54:36 am
List:net.java.dev.jna.users

On Oct 29, 2007, at 11:05 AM, Michele Croci wrote:

I get alway ' 0 ' for x and y values. Maybe the problem is in the definition of my custom structures. Here the conversion I have made:

DWORD -> int UINT -> int LONG -> long BOOL -> int

Are they right?

LONG is 32 bits on windows, so you should use "int". You can use "boolean" for BOOL if you pass W32API.DEFAULT_OPTIONS as the options in your loadLibrary call.