Hello, I need to convert this:
[felipe@localhost android]$ gedit ~/Programas/android-ndk-r5/platforms/android-8/arch-arm/usr/include/jni.h void (*CallStaticVoidMethodV)(JNIEnv*, jclass, jmethodID, va_list); To Pascal. I tryed using array of const, but it keeps crashing in this call =( CallStaticVoidMethodV:procedure(Env:PJNIEnv;AClass:JClass;MethodID:JMethodID;Args:array of const);{$ifdef mswindows}stdcall;{$else}cdecl;{$endif} Any ideas if using array of const is a good idea or if something else is better? My target is Android (via arm-linux in FPC) thanks, -- Felipe Monteiro de Carvalho _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal