This forum is temporaily read-only. All existing discussions remain available for reference. For new questions, bug reports or support requests, please contact us at mail@lmdsupport.com.
ElMD5 and use of InputType = SourceFile
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
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