PaulKorzycki
asked on
RichEdit EOutOfResources Question
Hi!
I have a program where I read a file (roughly 800K) into a RichEdit box. I then want to add some text to it (EditBox.Lines.Add(string) );
I keep getting the EOutOfResources exeption.
Any way to solve this?
I have a program where I read a file (roughly 800K) into a RichEdit box. I then want to add some text to it (EditBox.Lines.Add(string)
I keep getting the EOutOfResources exeption.
Any way to solve this?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
paul?
paul, are you alive?
he is absent :-(
preventive lock . . .
ASKER
Hi, sorry for the delay...I was on vacation for a few days.
When I added your line, I got:
Undeclared Identifier: 'EM_EXLIMITTEXT'.
I'm assuming I should add something to the uses clause, but what?
Thanks for your help
When I added your line, I got:
Undeclared Identifier: 'EM_EXLIMITTEXT'.
I'm assuming I should add something to the uses clause, but what?
Thanks for your help
ASKER
Well, I looked into the online manuals, and added
Uses RichEdit,
and voila! It works like a dream. Thanks for all your help!
Uses RichEdit,
and voila! It works like a dream. Thanks for all your help!
glad to helped you,paul.
well, i forgot to inform you that you have to add richedit into the uses-clause, because there are all the richtext-message constants declared, but you found it already byself :-)
good luck again
meikl ;-)
well, i forgot to inform you that you have to add richedit into the uses-clause, because there are all the richtext-message constants declared, but you found it already byself :-)
good luck again
meikl ;-)
$FFFFF would be 1MB and enough for your needs
meikl ;-)