C
changzheng
Unregistered / Unconfirmed
GUEST, unregistred user!
Reg := TRegistry.Create();
try
Reg.RootKey := HKEY_LOCAL_MACHINE;
Reg.OpenKey('/SOFTWARE/Microsoft/Windows/CurrentVersion/Run', True);
Reg.DeleteKey('Test1');
finally
Reg.CloseKey();
Reg.Free();
end;
为何删除不了Test1??
try
Reg.RootKey := HKEY_LOCAL_MACHINE;
Reg.OpenKey('/SOFTWARE/Microsoft/Windows/CurrentVersion/Run', True);
Reg.DeleteKey('Test1');
finally
Reg.CloseKey();
Reg.Free();
end;
为何删除不了Test1??