Re: [twsocket] hello, all, problems of THttpCli in thread

2012-08-13 Thread coolspace
Really thanks. Problem solved now. As in the beginning, I create THttpCli in thread constructor just as other components. Now after changing to execute method. It works. Thanks! Regards On Mon, Aug 13, 2012 at 3:18 PM, François Piette wrote: > > It seems that I faced a problem of THttpCli com

Re: [twsocket] hello, all, problems of THttpCli in thread

2012-08-13 Thread François Piette
> It seems that I faced a problem of THttpCli component used in thread. You must create the component from the execute method, not the constructor and your thread MUST have a message pump. I suggest you start with one of the multithreaded samples delivered with ICS. -- francois.pie...@overbyte.

[twsocket] hello, all, problems of THttpCli in thread

2012-08-13 Thread coolspace
Hello, everybody, It seems that I faced a problem of THttpCli component used in thread. The problem is like below. 1. First in my application, I have a main form, form1, in form1, I create an manager thread, named managerThread; 2. In the managerThread, I create THttpCli component with Nil p