[fpc-pascal] Access fpc libraries with Java ?

leledumbo leledumbo_cool at yahoo.co.id
Fri Mar 28 07:47:11 CET 2014


> PS: Hum, why did you use 
> => env,jcls: pointer; 
>  as arguments, is it needed for Java ? 
> I have try without and it works too... 

It's JNI requirement, I wonder it could work without as it may corrupt the
stack. The first parameter is the JVM environment, the second is the Java
object (or class in case of static method), the rest is actual parameters to
the function.



--
View this message in context: http://free-pascal-general.1045716.n5.nabble.com/Access-fpc-libraries-with-Java-tp5718791p5718799.html
Sent from the Free Pascal - General mailing list archive at Nabble.com.



More information about the fpc-pascal mailing list