Hello Markus,

> How can I solve my problem? Which thread does the socket belon to
> now? Does it belong to the thread in 

Use GetCurrentThreadID to find out the thread context of the code.
Check this where the TWSocket is created and where you Destroy it. Check
this also in some of the TWSocket events to be sure the message pump is
called in the same thread context.

---
Rgds, Wilfried [TeamICS]
http://www.overbyte.be/eng/overbyte/teamics.html
http://www.mestdagh.biz

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