I ran into this problem yesterday too when converting from an old Delphi 2007 project to Delphi 10.2. Fortunitly i have had this problem before and all you need to do is the following: In the OPEN() function, change enpa:=encode_password(password,hash); to enpa:=encode_password(AnsiString(password),...