Problems retrieving data from big memo controls


2003-07-21 10:57:42 PM
cppbuilder28
I wrote an application which reads a text file into a tmemo-object.
Next, i must iterate through all lines and process each line. The
files i have to process are 2 to 10 mb size. When i retrieve the data
using the method c_str(), it sometimes happened, that the resulting
char * does not hold all the data which is in the memo. It is cutted
at different positions. Sometimes, it's in the 300 th line, sometimes
it is in the about 1500 th line.
Are there known problems wich TMemo for which exists fixes?
Thanks a lot,
Matthias Voigtländer