root method

Applies to
TForm1

Declaration
function root: String;

Implementation

function TForm1.root():String; var reg1:TRegIniFile;
begin
reg1:=TRegINiFile.Create;
reg1.RootKey :=HKEY_CURRENT_USER;
result:=IncludeTrailingBackslash(reg1.ReadString('\SOFTWARE\WikiBrowse\1.0','root','C:\'));
reg1.free;
End;


HTML generated by Time2HELP
http://www.time2help.com