7 messages in net.java.dev.jna.usersRe: [jna-users] Accessing Cocoa Frame...
FromSent OnAttachments
Rob CopeSep 5, 2007 8:03 pm 
Rob CopeSep 5, 2007 8:05 pm 
Wayne MeissnerSep 5, 2007 8:35 pm 
Wayne MeissnerSep 5, 2007 8:56 pm 
Rob CopeSep 6, 2007 12:40 pm 
Timothy WallSep 6, 2007 12:57 pm 
Rob CopeSep 6, 2007 1:10 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] Accessing Cocoa FrameworksActions...
From:Wayne Meissner (wmei@gmail.com)
Date:Sep 5, 2007 8:35:16 pm
List:net.java.dev.jna.users

Rob Cope wrote:

I'm guessing this isn't possible, but is there a way to use JNA to access Cocoa frameworks? For example, is there a way to access the Keychain through Security.framework?

The answer is "maybe".

You should be able to access most objc classes via objc_getClass(), and call methods via objc_msgSend().

Methods that pass or return structures by value instead of by reference (i.e. as a pointer) won't work, JNA just doesn't have that support (yet).