Arno Garrels wrote:

> procedure TTestThread.Execute;
> var
>   Msg: TMsg;
> begin
>   // PeekMessage(Msg, 0, 0, 0, PM_NOREMOVE); // Initialize thread's message 
> queue
>   FHandle := Classes.AllocateHWnd(WndProc); // Create a hidden window
> [...]

Can you give details why a call to PeekMessage() should be added here? Until 
now I never used this statement outside of a message loop and did not run into 
problems so far...

To unsubscribe or change your settings for TWSocket mailing list
please goto
Visit our website at

Reply via email to