Code: Select all
// RegIniFile := TRegIniFile.Create('', KEY_READ OR KEY_WRITE); // original line
RegIniFile := TRegIniFile.Create('', KEY_READ); // just ask for read access.
-Mark
Code: Select all
// RegIniFile := TRegIniFile.Create('', KEY_READ OR KEY_WRITE); // original line
RegIniFile := TRegIniFile.Create('', KEY_READ); // just ask for read access.