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.