TRegistry.ReadBinaryData() Delphi incompatibility.
Original Reporter info from Mantis: marco @marcoonthegit
-
Reporter name: Marco van de Voort
Original Reporter info from Mantis: marco @marcoonthegit
- Reporter name: Marco van de Voort
Description:
I'm porting some Delphi code that reads MULTI_SZ (arrays of string) data from the registry.
The FPC one has some strange extra limitation that only allows ReadBinaryData for rdbinary and rdunknown.
If not (RegDataType in [rdBinary, rdUnknown]) Then
Raise ERegistryException.CreateFmt(SInvalidRegType, [Name]);
Why ?
Depending on the reason for the constraint either add rdMultiString to this list or remove the constraint all together?
Mantis conversion info:
- Mantis ID: 38581
- Version: 3.2.1
- Fixed in version: 3.2.2
- Fixed in revision: 49165 (#5340d45a)