7 messages in net.java.dev.jna.usersRe: [jna-users] Reading back function...
FromSent OnAttachments
Bob LittleOct 13, 2008 1:34 pm 
Michael WhiteOct 13, 2008 3:34 pm 
Timothy WallOct 13, 2008 5:11 pm 
Bob LittleOct 14, 2008 7:07 pm 
Timothy WallOct 14, 2008 8:03 pm 
Bob LittleOct 15, 2008 6:18 am 
Timothy WallOct 15, 2008 6:45 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] Reading back function argumentsActions...
From:Michael White (sfcl@yahoo.com)
Date:Oct 13, 2008 3:34:17 pm
List:net.java.dev.jna.users

Have a look at the following link. It appears to suggest that you can just use
the identical syntax offered by java.

https://jna.dev.java.net/javadoc/overview-summary.html#varargs

Mike

--- On Mon, 10/13/08, Bob Little <rlit@webfrontdevelopment.com> wrote:

From: Bob Little <rlit@webfrontdevelopment.com> Subject: [jna-users] Reading back function arguments To: use@jna.dev.java.net Date: Monday, October 13, 2008, 1:34 PM Hello,

I need to invoke a C function having this signature:

void functionName(char* subroutineName ,short argc, char* argv...)

This calls a database subroutine which in turn modifies the arguments in the argv list it is passed.

What I would like to do is to read back (as Strings) the modified values in the argv list, and operate on those values.

I am unclear on just what to research to help myself find the answer. I think I need to use com.sun.jna.Pointer, but I cannot find any clear examples that illustrate that - at least in the context I *think* need.

Any help or pointers to other examples I can read would be greatly appreciated.