On Mon, Feb 13, 2023 at 8:20 AM Ondrej Pokorny via fpc-devel <fpc-devel@lists.freepascal.org> 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_CLASSES_ROOT, > HKEY_CURRENT_USER, ...); Yep, thought of that as too. Perhaps the best options. Thanks. -- Bart _______________________________________________ fpc-devel maillist - fpc-devel@lists.freepascal.org https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel