In the methode TCrMD5.MD5_Hash_File there are ifdef to (deprecated/removed?) compiler defines "DELPHI" and "BP7"
I remove this and changed
{$IFDEF DELPHI}
AssignFile(InputFile, FInputFilePath);
{$ENDIF}
{$IFDEF BP7}
Assign(InputFile, FInputFilePath);
{$ENDIF}
and
{$IFDEF DELPHI}
CloseFile(InputFile);
{$ENDIF}
{$IFDEF BP7}
Close(InputFile);
{$ENDIF}
to
AssignFile(InputFile, FInputFilePath);
and
CloseFile(InputFile);
I think the defines "DELPHI" and "BP7" aren't used any more
Comments