[fpc-pascal] TThread.Synchronize doesn't work in DLL

dibo20 at wp.pl dibo20 at wp.pl
Tue Feb 1 14:02:02 CET 2011


Hi,

I have form and thread in DLL. It seems that Synchronize() doesn't work. 
Thread is hanging on first Synchronize().
It works only when I open form in ShowModal. I debug this and only 
difference between Show() is that ShowModal call 
WidgetSet.AppProcessMessages in loop. I can rewrite my code to use 
critical sections but what if this doesn't work too and I will waste my 
time?

Regards



More information about the fpc-pascal mailing list