Having done the updates, I want to save the file, via the Stream:
FileName := SysDir + 'System.cds'; StreamSystem := TFileStream.create(FileName, mode); cdsSystem.LoadFromStream(streamSystem);
However, I have no idea what should be used as the *buffer variable.
cdsSystem.SaveToStream(StreamSystem); StreamSystem.Write(*buffer, sizeof(StreamSystem));
From novice to tech pro — start learning today.