> What is the correct way to convert an existing program with 1 HttpCli in 
> async mode to a thread?
> - HttpCli.create(nil)

Of course. Be sure to create it from the thread's Execute method.

> - HttpCli.Multithreaded:= true


> - place a message pump in the thread's execute procedure.


> - create a hidden window to post message to

Only if you need one for your own use.

> Something else to do ?

Start the event chain just before entering the message pump.

Contribute to the SSL Effort. Visit http://www.overbyte.be/eng/ssl.html

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