11 messages in net.java.dev.jna.usersRe: [jna-users] Fwd: https://jna.dev....
FromSent OnAttachments
Timothy WallFeb 29, 2008 5:14 am 
Paul LoyFeb 29, 2008 6:10 am 
Timothy WallFeb 29, 2008 7:07 am 
Timothy WallFeb 29, 2008 7:46 am 
DiegoFeb 29, 2008 8:15 am 
Emmanuel PirschFeb 29, 2008 8:55 am 
Duncan McGregorFeb 29, 2008 9:41 am 
Jøran Vagnby LillesandMar 1, 2008 3:49 am 
Timothy WallMar 2, 2008 6:10 am 
Hackett, MarkMay 8, 2008 5:41 am.html
Timothy WallMay 9, 2008 11:19 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] Fwd: https://jna.dev.java.net/#demosActions...
From:Hackett, Mark (mark@metoffice.gov.uk)
Date:May 8, 2008 5:41:17 am
List:net.java.dev.jna.users
Attachments:
UsingJavaJNA.html - 28k

On Sun, 2008-03-02 at 09:11 -0500, Timothy Wall wrote:

1) compile a stupid C library that just prints "hello world" and that's one file.

Not a bad suggestion, I've added a hello, world snippet to the main page as the first example. Hopefully the varargs isn't too advanced for newbies :)

And if it's not possible to make a single Java file to do this, then the "howto" needs to say "create a file with this in, then create one with this in". This stops errors like "class JNANoddyLib is declared public so needs to be in its own file" appearing. But maybe JNANoddyLib didn't *need* to be public. I don't know enough to say.

Here's something I whipped up with someone who knows Java (but not JNA) about a simple, self-contained C library to test JNA development against.

It (IMO) is a replacement from the current documentation introducing JNA under

https://jna.dev.java.net/

So I can't really barge in and wipe that out. Not at least until I get a chance to find out if anyone else agrees. Heck, even if my version isn't used but someone implements the same simple process, that's enough.

So I've attached the documentation that I think describes a better tutorial example than the one currently there (windows only, snippets taken out of context and so on is confusing if you aren't already au fait with JNA somewhat).

If you think "no way" please tell me why. If you think "I think it'll work", let me know.

Ta.