Singer, Dirk wrote:
> there two Problem at my Application and hope you can help me! I use
> Delphi7 and create an instance of TFtpClient in a Thread. 

Probably you create the object in the Execute method, that's fine.  

> This Thread
> will interrupt and wait for an event to continue the execution.
> The
> issue is, that the Taskbar freeze while this time. Do you know a
> solution for me?

Don't call any wait routine that does not process messages
while any ICS object is instantiated which means a hidden window
exists in the thread. Instead implement your message pump with
MsgWaitForMultipleObjects() if you realy need to wait for a wait
object. 
But.. most likely you don't need to wait. By simply posting and
processing some custom message the thread can be notified as well. 

> The second issue is that the Ports believe in the Time_Wait - State
> and so I can't reuse it. How can I avoid this or how can I set the
> Time? 

I recall some problems with the port range feature in older
versions, fixed mid 2006. Do you use latest ICS download, it fixes
important things in the FTP components?


---
Arno Garrels [TeamICS]
http://www.overbyte.be/eng/overbyte/teamics.html
 
 
> 
> 
> Thank you very much!
> 
> 
> 
> Dirk Singer
> 
> 
> 
> ECKELMANN AG:
> Vorsitzender des Aufsichtsrats: Hubertus G. Krossa;
> Vorstand: Dr.-Ing. Gerd Eckelmann (Vorstandsvorsitzender), Dr.-Ing.
> Frank-Thomas Mellert, Dr.-Ing. Peter Cordes; Sitz der Gesellschaft:
> Wiesbaden Registergericht: Amtsgericht Wiesbaden, HRB 12636
-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://www.elists.org/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be

Reply via email to