I want to save a TStringList to a filestream along with other stream
data and the restore the entire contents of the TStringList and other
data back into my objects. The problem is that the TStringList load all
off the data after it's actual strings causing the stream to raise an
error with the next object load. The string which should contain 2
(Count) strings now contains 3. My question is do I have to iterate
through the TStringList myself to write out the Count number of strings
after I have written the count value and then after loading the count
value iterate through the stream to load the strings and then add them
into the empty TStringList object? The later approach works but it seems
that the TStringList object should be able to manage it own persistent data.
Thanks
--
Larry Dew
RD Software Inc.
128 Schreiber Drive
Haslet TX, 76052
(817) 439-0366