Class TRegistry1632 (unit Regi1632)

Inherits from

TComponent

Constructors


constructor Create(AOwner:TComponent);



Functions

destructor Destroy;


function ReadString(Path, Key:String): string;

Reads a Value from the registry in HKEY_LOCAL_MACHINE

function ReadUserString(Path, Key:string): string;

Reads a Value from the registry in HKEY_CURRENT_USER

procedure WriteString(Path, Key, Value:String);

Writes a Value to the registry in HKEY_LOCAL_MACHINE

procedure WriteUserString(Path, Key, Value:String);

Writes a Value from the registry in HKEY_CURRENT_USER

function ReadKey(Where:LongInt;Key, Path:String):string;


procedure WriteKey(Where:LongInt;Key, Path, Value:String);


Properties

property IniFileName : string


property RunningWin31 : Boolean


property ErrorMessage : string


property WasError : boolean


Events

Variables

fErrorMessage : String;


fIniFileName : String;


fRunningWin31 : Boolean;


fWasError : Boolean;



Constructors


constructor Create(AOwner:TComponent);


Functions


destructor Destroy;


function ReadString(Path, Key:String): string;

Reads a Value from the registry in HKEY_LOCAL_MACHINE


function ReadUserString(Path, Key:string): string;

Reads a Value from the registry in HKEY_CURRENT_USER


procedure WriteString(Path, Key, Value:String);

Writes a Value to the registry in HKEY_LOCAL_MACHINE


procedure WriteUserString(Path, Key, Value:String);

Writes a Value from the registry in HKEY_CURRENT_USER


function ReadKey(Where:LongInt;Key, Path:String):string;


procedure WriteKey(Where:LongInt;Key, Path, Value:String);


Properties


property IniFileName : string


property RunningWin31 : Boolean


property ErrorMessage : string


property WasError : boolean


Events


Variables


fErrorMessage : String;


fIniFileName : String;


fRunningWin31 : Boolean;


fWasError : Boolean;