如何读取注册表信息
procedure TForm1.Button3Click(Sender: TObject);var
Reg: TRegistry;
i:string;
begin
Reg := TRegistry.Create;
try
Reg.RootKey := HKEY_LOCAL_MACHINE;
if Reg.OpenKey('time', true) then
i:=Reg.ReadString('');
label1.Caption:=i;
// memo1.Lines.Add(Reg.ReadString('time'));
finally
Reg.CloseKey;
Reg.Free;
end;
end;
如何读取'time’下面的信息,这样是读取不成功的