<p>Am 25.11.2013 15:31 schrieb "Brian" <<a href="mailto:vmst@golden.net">vmst@golden.net</a>>:<br>
><br>
> Problem solved ... ironically the solution was from a Windows guy.<br>
><br>
> Faulty Code<br>
><br>
...<br>
> Corrected Code : InitCriticalSection() BEFORE BeginThread()<br>
></p>
<p>Ah yes. Always keep in mind that the thread could already be happily running (or in extreme cases even finished) when BeginThread (or in extension TThread.Create(False)) returns.</p>
<p>Regards,<br>
Sven</p>