5 messages in net.java.dev.jna.users[jna-users] Re: Callback to Mac Carbo...
FromSent OnAttachments
Alan SnyderSep 3, 2008 1:52 pm 
Timothy WallSep 3, 2008 1:59 pm 
Alan SnyderSep 3, 2008 2:52 pm 
Alan SnyderSep 3, 2008 4:10 pm 
Timothy WallSep 3, 2008 4:17 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:[jna-users] Re: Callback to Mac Carbon APIs.Actions...
From:Alan Snyder (ala@tidebreaksys.com)
Date:Sep 3, 2008 4:10:35 pm
List:net.java.dev.jna.users

Timothy, This is now a solved issues, I inadvertently imported "java.security.auth.callback.Callback"

into the TBCarbon.java file, instead of

"com.sun.jna.Callback"

Do you have multiple class loaders? Only see one application class loader in the IDE.

What happens when you do "x instanceof Callback" explicitly on your new callback instance?

"x instanceof Callback" is false while at the same time: "x instnaceof EventHandlerProcPtr" is true.