Busai Péter wrote:
> 2010.11.30. 20:41 keltezéssel, Arno Garrels írta:
>> 
>>> Well, I do not clearly understand the internals, but defining
>>> NOFORMS in project option
>>> and  using
>>>      while not FTPCli.Terminated do
>>>        FTPCli.ProcessMessages;
>>> 
>>> instead of
>>> 
>>>    FTPCli.MessageLoop
>>> 
>>> and quitting with FTPCli.PostQuitMessage did work.
>> You must be using some current ICS version. That's positive
>> feedback! PostQuitMessage was introduced recently to ease quit
>> of the message loop.
> 
> My first thing was to update from svn ;)
> However I think the above design not very nice, since CPU is on 100%
> while transfer is taking place.

That's true, you should not call ProcessMessages in a loop like
above. NOFORMS and MessageLoop should work. Otherwise show us some
more of your code.
  
-- 
Arno Garrels
--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be

Reply via email to