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

Either create it in thread's Execute procedure
or create it in another thread, call ThreadDetach,
and in thread's Execute call ThreadAttach.

> - HttpCli.Multithreaded:= true
> - place a message pump in the thread's execute procedure.
> - create a hidden window to post message to

not required, you can also use PostThreadMessage().  
> Something else to do ?

Think fully event-driven ;-)

Arno Garrels [TeamICS]

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

Reply via email to