Re: [twsocket] Free a HttpCli in thread

2006-10-17 Thread Paul
Ok, thanks Paul - Original Message - From: "Francois Piette" <[EMAIL PROTECTED]> To: "ICS support mailing" 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 threa

Re: [twsocket] Free a HttpCli in thread

2006-10-17 Thread Francois Piette
> 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

[twsocket] Free a HttpCli in thread

2006-10-17 Thread Paul
Does this also free a HttpCli running in a thread ? PostMessage((Sender as THttpCli).CtrlSocket.Handle, WM_QUIT, 0, 0); Paul -- 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.b