Jump to content

Leaderboard


Popular Content

Showing content with the highest reputation on 06/02/23 in all areas

  1. Lars Fosdal

    ChatGPT Converted Unit

    Chat in, shit out?
  2. No. It is a remnant from Delphi's pre-Unicode days (going all the way back to Delphi 5, if not earlier). Even then, I question why it was ever added in the first place, since the API always returned the correct sizes to begin with. So, this will cause the caller to unnecessarily waste memory (if they enumerate subkey/value names afterwards) and should be taken out. Yes. The increment is not necessary. I have filed a bug report: RSP-41787: TRegistry.GetKeyInfo() doubles size of MaxSubKeyLen and MaxValueLen
×