Ok, thanks

Paul

----- Original Message ----- 
From: "Francois Piette" <[EMAIL PROTECTED]>
To: "ICS support mailing" <twsocket@elists.org>
Sent: Tuesday, October 17, 2006 3:31 PM
Subject: Re: [twsocket] Free a HttpCli in thread


>> Does this also free a HttpCli running in a thread ?
>>
>> PostMessage((Sender as THttpCli).CtrlSocket.Handle, WM_QUIT, 0, 0);
>
> If the thread use the message loop from the CtrlSocket, then it will break
> the loop and make the thread terminate. And thread termination could free
> the object if you wrote the code for it.
>
> If the thread use another message loop, then this will not do anything.
>
> Contribute to the SSL Effort. Visit http://www.overbyte.be/eng/ssl.html
> --
> [EMAIL PROTECTED]
> Author of ICS (Internet Component Suite, freeware)
> Author of MidWare (Multi-tier framework, freeware)
> http://www.overbyte.be
>
> -- 
> To unsubscribe or change your settings for TWSocket mailing list
> please goto http://www.elists.org/mailman/listinfo/twsocket
> Visit our website at http://www.overbyte.be
>
> 

-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://www.elists.org/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be

Reply via email to