Answers for "how to loop through registry entries Delphi"

0

how to loop through registry entries Delphi

Registry := TRegistry.Create;
  Try
    Registry.RootKey := RootKey;
    Registry.OpenKeyReadOnly(Key);
    SubKeyNames := TStringList.Create;
    Try
      Registry.GetKeyNames(SubKeyNames);
      for Name in SubKeyNames do
        Writeln(Name);
    Finally
      SubKeyNames.Free;
    End;
  Finally
    Registry.Free;
  End;
Posted by: Guest on July-14-2021

Code answers related to "how to loop through registry entries Delphi"

Browse Popular Code Answers by Language