It looks like there was a missunderstanding. I've said that using
WaitForSingleObject is OK, because it is a blocking call which
does NOT process Windows Messages. But ... the
Application.ProcessMessages or any other API or method which
DOES PROCESS Windows Messages should
NEVER be called from any event triggered by RTC components.
There is a
Quick-Start Topic about this.
Best Regards,
Danijel Tkalcec