> > Hello, > > how does TWSocket.ThreadAttach work? I don't see where have > to specify the > thread. > Or is it to be used in TThread.Execute and then is's > automatically attached > to > the current one? >
hm, curious. Now it works if I have the receiving component statically on the data module and have it Multihreaded:=true; and simply process messages like that while GetMessage(MsgRec, 0, 0, 0) do begin TranslateMessage(MsgRec); DispatchMessage(MsgRec) (okay copied from TWSocket). Is this generally okay? Or is it coincidence that it works now? If it is generally okay, I think I know how to proceed now. Greetings Markus -- 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