On Sun, Feb 12, 2023 at 10:43 PM Yuriy Sydorov via fpc-devel
wrote:
> Error "Range check error while evaluating constants (18446744071562067969
> must be between -2147483648 and 4294967295)"
> is wrong here:
>
> property RootKey: HKey read FRootKey write FRootKey default HKEY_CURRENT_USER;
>
> S
On Mon, Feb 13, 2023 at 8:20 AM Ondrej Pokorny via fpc-devel
wrote:
> I wouldn't publish the HKEY property but create an own enumeration for it:
>
> TRegKey = (rgClassesRoot, rgCurrentUser, )
>
...
>
> Then make a simple transformation to HKEY:
>
> RegKeyToHKey: array[TRegKey] of HKEY = (HKEY
On Mon, 13 Feb 2023, Ondrej Pokorny via fpc-devel wrote:
On 12.02.2023 23:08, Bart via fpc-devel wrote:
On Sun, Feb 12, 2023 at 10:47 PM Jonas Maebe via fpc-devel
wrote:
Afaik it's because "default" doesn't support qword values, iirc because
of (at least old) Delphi compatibility.
OK, I