Compiler Error. Is indy 10 only for delphi7?

Giganews Newsgroups
Subject: Compiler Error. Is indy 10 only for delphi7?
Posted by:  Pedro (pizquierdo20…@hotmail.com)
Date: Mon, 6 Jun 2005

Hi,

I'm working with Indy 10.0.52 (date of units 13/12/2004) and Delphi6

I have problems and I have download the last SnapShot... but it's not
compile.

The compiler Error:

[Error] IdSysVCL.pas(97): Undeclared identifier: 'TFormatSettings'

This is the function.

{$IFNDEF DELPHI5}
//Delphi5 does not have TFormatSettings
//this should be changed to a singleton?
function GetEnglishSetting: TFormatSettings;

I add the compiler directive DELPHI5 and the next compiler error is:

[Error] IdTCPStream.pas(84): Method 'GetSize' not found in base class
[Error] IdTCPStream.pas(103): Method 'Seek' not found in base class

This methods are private in the class TStream ???. I not know if this
methods are publics in delphi7

Please, I am making something bad? or Only compiler in Delphi7

Thanks and sorry my poor english.

Pedro.

Replies