7 messages in net.java.dev.jna.users[jna-users] Reading back function arg...
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:[jna-users] Reading back function argumentsActions...
From:Bob Little (rlit@webfrontdevelopment.com)
Date:Oct 13, 2008 1:34:29 pm
List:net.java.dev.jna.users

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.

-bob