Hi Again

the problem is :
When I EnterCriticalSection in a worker Thread, and before LeaveCriticalSection I try to EnterCriticalSection in the main dialog it blocks...
The thread stops and don't call his Leave and the dialog block on his Enter waiting for the leave?...

Thank you