Re: [twsocket] Using Pop3Cli in a thread

2006-08-17 Thread Wilfried Mestdagh
Hello Patrick, No using TSyncPop3Cli is discouraged. I cannot check at moment. But the component has a data socket, FSocket probably or similar. You can use the messageloop from this one if you sete on this TWSocket MultiThread to true. --- Rgds, Wilfried [TeamICS]

Re: [twsocket] Using Pop3Cli in a thread

2006-08-17 Thread Arno Garrels
Patrick Wong wrote: Thank you for your response. Or use the messageLoop of TWSocket if you dont need to receive custom messages. Set Multithreaded to true. But may I know how? I am not quite familiar with Delphi. Writing/using message loops is not specific to Delphi but to Windows

Re: [twsocket] Using Pop3Cli in a thread

2006-08-17 Thread DZ-Jay
On Aug 17, 2006, at 03:29, Arno Garrels wrote: There's no difference between running the component in main thread or in a worker thread given you process messages by some kind of message loop. Delphi's class TThread does not implement such a message loop by default . Think asynchrone,

Re: [twsocket] Using Pop3Cli in a thread

2006-08-15 Thread Arno Garrels
I'm not sure what you try to do, but it's easy: 1 - Create the Pop3Cli instance in Execute 2 - Assign properties and events 3 - Connect 4 - Start your MessageLoop --- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html Patrick Wong wrote: Dear all, I am using BCB6 and