Piotr Dałek wrote:
> Hello!
> 
>> A reliable way to calculate More was
>> "More := Stream.Position < Stream.Size;"
>> 
>> however that is slower since Stream.Size has to seek to the end of
>> the stream and the back to current position on each call of
>> DoFileEncBase64(). (Instead of Stream.Size we could also check
>> against file size, however only with ShareMode fmShareDenyWrite).
> 
> var
>  LocalStreamSize: integer;
> [..]
> LocalStreamSize := Stream.Size;
> [..]
> More := Stream.Position < LocalStreamSize;
> [..]
> 
> Problem solved.

I do not get this, sorry. Please elaborate.
BTW: I uploaded some SMTP changes to the v7 repository.
 
--
Arno Garrels 

> 
> --
> Piotr Dałek
> enigmati...@interia.pl
> 
> 
> ----------------------------------------------------------------------
> Zobacz program TV na dzis!
> sprawdz >>>http://link.interia.pl/f202a
-- 
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