I have a couple of classes I use. They both work. The problem is if there is
a bunch of messages, while they are being downloaded nothing else works
(other threads or GUI controls).
I've put the pop3 reader in a background thread. I've made it lowest
priority. But when its downloading 40KBytes it locks everything up.
If I download messages it locks the app up too.
Its a Csharp Form based app. I have windows.form timers triggering the
threads (I tried Threading timers too).
They all do the same. When I download, nothing works.
I tried async reads, that didn't work. If you need to see the code let me
know.
Any ideas would be appreciatted.
Thanks,
Bill
> I have a couple of classes I use. They both work. The problem is if there is
> a bunch of messages, while they are being downloaded nothing else works
[quoted text clipped - 3 lines]
> I tried async reads, that didn't work. If you need to see the code let me
> know.
If you want serious help, you'll need to post a concise-but-complete
example of code.
That said, when the app "locks up" and you interrupt the application in
the debugger, where are your threads stopped? Applications don't just
stop for no reason; if they stop responding, they are stuck somewhere.
Your first step is to use the debugger and find out where your
application is stuck.
Pete
TheSteph - 20 Sep 2007 10:11 GMT
Try with your anti-virus disabled...
> > I have a couple of classes I use. They both work. The problem is if there is
> > a bunch of messages, while they are being downloaded nothing else works
[quoted text clipped - 14 lines]
>
> Pete
xzzy - 22 Sep 2007 03:39 GMT
some internet providers ( Comcast would be an example ) only allow one
session on an email account at a time.
> Try with your anti-virus disabled...
>
[quoted text clipped - 18 lines]
>>
>> Pete