The Pop3Cli is working in worker thread, after setting the
Pop3Cli->CtrlSocket->MultiThreaded to true.
Thanks to all that have kindly responded.--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://www.elists.org/mailman/listinfo/twsocket
Visit our website at htt
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 asynchr
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 Window
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]
http://www.overbyte.be/eng/ove
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. From the
Pop3prot.hpp MultiThreaded is a protected bool of TSyncPop3Cli, which is
inherited from
Hi,
> 4 - Start your MessageLoop
Or use the messageLoop of TWSocket if you dont need to receive custom
messages. Set Multithreaded to true.
---
Rgds, Wilfried [TeamICS]
http://www.overbyte.be/eng/overbyte/teamics.html
http://www.mestdagh.biz
Wednesday, August 16, 2006, 07:38, Arno Garrels wrote
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 a
Dear all,
I am using BCB6 and ICS. I reference The MailRcv application as a start of my
new task. It works fine as long as the Pop3Cli is created and used in the main
GUI context. For my app I need to do the POP3 mail client as a worker thread.
However it does not work as the event Pop3Clie