i want to know what the best way (function) to read and write to windows registry using delphi.