Posted by Andrew on January 25, 2006 Hi, i'm new to working with untyped files. I've got a record MyRecord containing some tstrings variables. I open the file using Reset( MyFile, SizeOf( MyRecord ) ). Then i write in the file using BlockWrite( MyFile, MyRecord, 1 ).At a certain point i read from the file BlockRead( MyFile, MyRecord, 1 ) but an error occurs when i do the following: memo1.lines.addstrings( MyRecord.tstrings1 ). I tried using memo1.lines.assign( MyRecord.Tstring1 ) but still i get an error. Any help? Related Articles and Replies
|