Relative Content

Tag Archive for delphi

How to track the number of incorrect password attempts

if (sUser = sDecryptU) and (sPass = sDecryptP) then begin frmRegularUser.Show; frmLogin.Hide; end else if (sUser = sDecryptMU) and (sPass = sDecryptMP) then begin frmAdmin.Show; frmLogin.Hide; end else begin Inc(iCOunt); ShowMessage(‘Username or Password incorrect / You have not entered your FullName’); Label1.Caption := IntToStr(iCount); if iCount > iMAxAttemps then begin ShowMessage(”); btnLogin.Enabled := True; end; […]

Bugg Delphi 12.1

I just migrated one of my programs from Delphi 10.4 to Delphi 12.1. However, during this migration, the properties of an object became unmodifiable in the object inspector.
Has anyone encountered this problem and has it been resolved?

Converting Delphi 7 Win32 app to FMX or LAZARUS Android/Mac compatible?

Is it possible with latest Delphi tools to convert Delphi 7 Win32 app to Android/Apple? Or would it be better to convert to Lazarus?
What would be required? Is it worth of doing this kind of old code base conversion, would it be better to write everything again with another programming language?