Re: Writing IdPOP3 thread (in BCB 4 and Indy 9)

Giganews Newsgroups
Subject: Re: Writing IdPOP3 thread (in BCB 4 and Indy 9)
Posted by:  xCarl (car…@pacific.net.sg)
Date: Thu, 23 Oct 2003

lemme check where else can i beef up the connectivity of my LAN to make it
more robust since now i know the hanging don't come from codes...

thanks man!

"xCarl" <car…@pacific.net.sg> wrote in message
news:B66BCC977A83E240car…@pacific.net.sg...
> Me getting adventurous again... this time with thread. Without in-depth
> knowledge and history, I cut and paste a single thread example from the
book
> "C++ Builder, How to.." and execute in BCB 4. It works fine.
>
> Then I thought things would be the same, I cut and paste my POP3 mail
> retrieval portion of the code and paste into the "execute" section of my
> thread. Unfortunately problem found, none of the IdPOP3->functions work.
>
> IdPOP3->Connect(); // Can't work inside the thread :-(
> IdPOP3->CheckMessages(); // Can't work inside the thread  :-(
> Form1->IdPOP3->Connect(); // Can't work inside the thread  :-(
> Form1->IdPOP3->CheckMessages(); // Can't work inside the thread  :-(
>
> Sigh..... anyone can advise? I didn't use Indy thread component because
> there is no C++ thread codes for my to start with. I normally cut and
paste
> from somewhere and work from there.... :pp
>
> If there is existing related source which I am still not aware of, please,
> let me know so that I can work from there.
>
> Thanks! :>

Replies

None

In response to

Writing IdPOP3 thread (in BCB 4 and Indy 9) posted by xCarl on Wed, 22 Oct 2003