I want to write to a file using TStream, but cannot crack the syntax required:
Here is the code to create the stream and load the cds file:
FileName := SysDir + 'System.cds';
StreamSystem := TFileStream.create(FileName, mode);
Having done the updates, I want to save the file, via the Stream:
However, I have no idea what should be used as the *buffer variable.
I know I can save as a file, but I want to make the stream logic work. If you can help with that problem, please help!