----- Original Message ----- 
From: "Francois Piette" <[EMAIL PROTECTED]>
To: "ICS support mailing" <twsocket@elists.org>
Sent: Wednesday, August 17, 2005 3:01 PM
Subject: Re: [twsocket] component question

> You have to change TFtpProgress data type to use an int64. Don't forget to 
> rebuild the package and
> reinstall it so that delphi use the correct version.
>
> btw: How have you changed to int64 ?
> You should have replaced all integer or LongInt by a new custom type which 
> is conditionnaly defined.
> Similar to this:
>
> {$IFDEF COMPILER6_UP}
>    {$DEFINE Use64BitFiles}
> {$ENDIF}
>
> {$IFDEF Use64BitFiles}
>    FtpInteger = int64;
> {$ELSE}
>    FtpInteger = integer;
> {$ENDIF}
>
> and later in the code use FtpInteger where 64 bit is desirable.
> Doing so make the code compatible with older compiler version.
> You can easily to a search and replace of your int64 by FtpInteger.
>


If there are any StrToInt make sure they are change to StrToInt64 too.

Dan 

-- 
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