Hello, Thanks, it is good to have some input as to what would be necessary, but in the mean time I solved my problem in another way. JNI has another way of sending the parameters, the A functions:
CallStaticVoidMethodA:procedure(Env:PJNIEnv;AClass:JClass;MethodID:JMethodID;Args:PJValue); And this worked for me sending a pointer to the first element of a pascal static Array in the parameter Args. -- Felipe Monteiro de Carvalho _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal