JNA problem with char** (in dll)

Posted by underline on Stack Overflow See other posts from Stack Overflow or by underline
Published on 2010-03-01T21:58:17Z Indexed on 2010/06/12 16:02 UTC
Read the original article Hit count: 237

Filed under:
|
|
|
|

Hi, ok it is 'easy' to make jna wrapper solution for mapping exported functions within dll using jna:

long f1(int x), just int
long f2(char* y), just char[]

but how to deal with long f3(char** z) ?

I need f3's result(long) as well as z value on java side.

Please don't say cpp code should be rewritten to avoid this:-)

© Stack Overflow or respective owner

Related posts about java

Related posts about dll