Byte Loss in String-Literal Concatenation

Background Last week a lively discussion in CnPack’s WeChat group revolved around this Delphi program: The reporter noted that it worked in Delphi 7 when using AnsiString. Some observations: I also noticed the dcc warning in Delphi 12.3, but it disappeared when I changed RawByteString to AnsiString. It is strange because it also causes potential data loss from… Continue reading Byte Loss in String-Literal Concatenation

Published
Categorized as Delphi