Page 1 of 1

Compile TeeImport97 Delphi 7 Indy 10

Posted: Sun Jul 16, 2017 5:06 pm
by 16580975
TeeImport97 would not compile in Delphi 7 with Indy 10

I changed the following in procedure procedure TDataImport.ImportFromURL(const AURL: String);

Code: Select all

      {$IFDEF D9}
      LHandler : TIdSSLIOHandlerSocketOpenSSL;
      {$ELSE}
      {$IFDEF D7}
//      { JJD - Change for latest Indy } LHandler : TIdSSLIOHandlerSocket;
      LHandler : TIdSSLIOHandlerSocketOpenSSL;

      {$ENDIF}

            {$IFDEF D9}
            LHandler:=TIdSSLIOHandlerSocketOpenSSL.Create(nil);
            {$ELSE}
//            { JJD - Change for latest Indy } LHandler:=TIdSSLIOHandlerSocket.Create(nil);
            LHandler:=TIdSSLIOHandlerSocketOpenSSL.Create(nil);
            {$ENDIF}

Re: Compile TeeImport97 Delphi 7 Indy 10

Posted: Mon Jul 17, 2017 12:57 pm
by Christopher
Thank you very much for reporting this to us. I have added it to our issue tracking system with id=1892.