@ Ewald and Sven => many thanks ;-) > The ideal thing would be to find some java mechanism that allows him to >`append` this checksynchronize to `the` main loop, some main-loop hook of sorts.
Yep, i will be hyper-interested by that feature... So, until that day will come, i will use a Java-timer in the main thread (with the littlest reasonable x interval) who will call CheckSynchronize()... Many, many thanks for great advices... Fred. PS : Sorry to repeat... but fpc native libraries are much more accessible to Java than equivalent C libraries... => mostly because of Pascal clarity and huge help from fpc forum. Not sure that already exists C native library accessible to Java that can do all what fpGUI or uos libraries can do... (callback procedures, multi threads, dynamically load "classical" other libraries,...). Long life to fpc. ----- Many thanks ;-) -- View this message in context: http://free-pascal-general.1045716.n5.nabble.com/Java-crash-when-fpc-library-CallVoidMethod-in-a-thread-tp5719098p5719470.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