[fpc-pascal] Java crash when fpc library CallVoidMethod in a thread.

Michael Van Canneyt michael at freepascal.org
Fri May 30 10:41:17 CEST 2014



On Fri, 30 May 2014, fredvs wrote:

> @ Ewald => thanks.
> Hum, i did use checksynchronize but it did not help...

When do you call it.

> Must it be used with fptimer.ontimer too ?

No.

> And why fptimer.ontimer is not executed ?

If CheckSynchronize is not executed at regular intervals, 
fptimer.ontimer is not used.

> Will i have more luck with other timer like epiktimer from Graeme (or the
> new one from Michael) ?

AFAIK: 
Those are not the same kind of timers. They just tell you how much time passed,
they do not deliver events at specified intervals.

Michael.



More information about the fpc-pascal mailing list