Hello Jacco,

There is no difference if you wants to do in a thread if all your code
is thread safe, and you need a message pump in the thread.

The most easy way is to develop / test all in main thread, so that you
know that eventually bugs are not because of threaded code bugs. To do
so you make a separate object where all code is in that you need.

Later when all is ready you just create / free your object in the
threads execute method. To have a message pump you can use message pump
from TWSocket.

---
Rgds, Wilfried
http://www.mestdagh.biz

Wednesday, September 21, 2005, 12:54, Jacco Bezemer wrote:

> Hi,

> I want to connect (and reconnect) within a thread and send XML data
> within that same thread.

> How do I accomplisch this? Can someone help me on this?

> I'm using Delphi 7.

> Thanks in advance,
> Jacco

-- 
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