Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Indy10 and Delphi 10.4 Sydney
#6
(03-08-2021, 10:41 AM)Cortomatt Wrote: Me, i have a problem in compiling the unit IdSASL_NTLM
with this line (in TIdSASLNTLM.ContinueAuthenticate)
Code:
  LMsg := ToBytes(ALastResponse, LEncoding{$IFDEF STRING_IS_ANSI}, LEncoding{$ENDIF});
 
[dcc32 Erreur] IdSASL_NTLM.pas(72): E2250 Aucune version surchargée de 'ToBytes' ne peut être appelée avec ces arguments

That translates to the following in English:

Quote:[dcc32 Error] IdSASL_NTLM.pas(72): E2250 No overloaded version of 'ToBytes' can be called with these arguments

And yes, there is a suitable overload for those exact arguments (where ALastResponse is a const String, and LEncoding is an IIdTextEncoding):

Code:
function ToBytes(const AValue: string; ADestEncoding: IIdTextEncoding = nil
  {$IFDEF STRING_IS_ANSI}; ASrcEncoding: IIdTextEncoding = nil{$ENDIF}
  ): TIdBytes; overload;

Makes me wonder if you are compiling with an old version of IdGlobal.pas rather than the latest?

Reply


Messages In This Thread
Indy10 and Delphi 10.4 Sydney - by radek.secka - 11-26-2020, 05:17 AM
RE: Indy10 and Delphi 10.4 Sydney - by rlebeau - 11-28-2020, 01:28 AM
RE: Indy10 and Delphi 10.4 Sydney - by rlebeau - 11-30-2020, 05:36 PM
RE: Indy10 and Delphi 10.4 Sydney - by Cortomatt - 03-08-2021, 10:41 AM
RE: Indy10 and Delphi 10.4 Sydney - by rlebeau - 03-08-2021, 06:44 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)