3 messages in net.java.dev.jna.usersRe: symbol lookup error during jna st...
FromSent OnAttachments
Timothy WallAug 27, 2007 12:24 pm 
Ross BagleyAug 28, 2007 12:06 pm 
Timothy WallAug 28, 2007 12:36 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: symbol lookup error during jna startupActions...
From:Ross Bagley (ro@rossbagley.com)
Date:Aug 28, 2007 12:06:06 pm
List:net.java.dev.jna.users

That doesn't quite work as expected.

short MASK = 0x8000;

yields a "possible loss of precision" error, which was my original problem with the octal representation in the original library interface.

If I do an explicit cast to short (yuck):

public static final short MASK = (short) 0x8000;

It works... and simple bitwise operations seem to work without additional ugliness, so I guess that's the fix.

Regards, Ross