Hi,

When I wanted solve problem with THTTPSend freezing, I always use threads
which works perfect. But HTTP is stateless protocol so this was good
solution, but how to solve problem with TIMAPSend which must have connection
with imap server? I know that exists OnHeartBeat callback event, but I have
bad memories with solutions of this kind. In OnHeartBeat event I call
Application.ProcessMessages or Application.HandleMessages for GUI
refreshing. I get some strange errors sometimes, for example: user try to
close control (tabsheet or form) where imap is running, he click 2 or 3
times but imap is busy and then my application crash (I supose HeartBeat
call ProcessMessages which try to destroy this same control again). Anyone
know some tricks for HeartBeat?

Regards
------------------------------------------------------------------------------
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
_______________________________________________
synalist-public mailing list
synalist-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synalist-public

Reply via email to