CPB Mailing List

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[BCB1] RichEdit Problem



Hi

I'm using a richedit object to load a normal text file into.
At work I have an NT4.0 machine into which I can load the whole
file, but at home I've got a WIN95 machine. Both has 32M of RAM.

On the win95 machine I load the file about halfway but then I get an
error stating  RICHEDIT LINE INSERTION ERROR.

What I basically do is, load the file into a TStringList and then do
some validation on each line. As I finish with each line, I use the
following line to add the line to the richedit:

    Editor->Lines->Add(Loader);

Now, I have no idea why it results in an error on my win95 machine, but
not on the NT4.0 machine.

Could someone please help me to solve this problem?

Thanks

-- 
Sincerely,

Mathys J. van der Merwe
SoftMark Enterprises


W Komornicki's Home Page | Main Index | Thread Index