>> OK, i will try to implement JStringToString() function (or find the
conversion-solution)... 

Done =>

function JStringtoString(PEnv: PJNIEnv; Obj: JObject; JavaStr: JString) :
String; 
var
 ifcop : pjboolean;
begin
result  := (PEnv^).GetStringUTFChars(PEnv, JavaStr, ifcop);
end;

He, he, he, ... now the last obstacle : Callback procedures... and Java is
in the pocket for fpc libraries...

PS => lot of things to add in fpc wiki ;-)

Fred



-----
Many thanks ;-)
--
View this message in context: 
http://free-pascal-general.1045716.n5.nabble.com/Access-fpc-libraries-with-Java-tp5718791p5718821.html
Sent from the Free Pascal - General mailing list archive at Nabble.com.
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to