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.

Possible Problem with current implementation of TCrMD5 in Unit ElMD5.pas

edited September 2012 in LMD ElPack
I think the Property InputString: String wil cause problem when use the class between Delphi-Version < 2009 and 2009 and above because of the differnt definition of String (String = AnsiString != String = UnicodeString).

I think you should change it to

InputString: AnsiString;

and add new

  InputStringUni: WideString

and new InputType SourceWideString

or think about some String-Coding-Option

(UseAnsi/UseActCodePage/UseUnicode/...)

Comments

Sign In or Register to comment.