trichview.com

trichview.support




Saving RVF


Return to index


Author

Message

Slavi Marinov

Posted: 08/15/2002 0:59:17


Hello all,

I have the following problem : if i try to save the contents of a

RichViewEdit to a RVF file. i can simply use RVE.SaveToRVF(). However, I

want to do something a bit more different -> to save the RVF to a stream,

and then save the stream as a string, and then save the string to a file F.

Then, instead of using RVE.LoadRVF(), i read the file F and insert the

contents in a stream S, and finally, I use  LoadRVFFromStream(S). However,

this doesn't work. If I compare the contents of a string just converted from

RVE to Stream to String, it's a bit different from the string I obtain when

I open the file and Readln() from it. So, if I save it that way, some data

is lost. How is this solved, i.e. I do not use Readln() and Writeln(), or I

use a file diffrenet from TextFile....


Best regards,

Slavi





Powered by ABC Amber Outlook Express Converter