salvin francis wrote:just out of curiosity, does it work for chars ?
I mean you have a char array in java, you sent it to C program which changes this array,
is it reflected back into the java program ?
yes it's works just fine
in c++ code I just copy chars from my function result to inout chararray parameter and it's is changes char back in Java..
but there is a small problem only... I must give the size of array in java which in c++ is not nessery...
Du you know how to define dynamic array in Java something like char array = new char ?
(is it posible without char array = new char[ARRAY_SIZE]) )