trichview.com

trichview.support




Re: SaveRVFToStream


Return to index


Author

Message

Sergey Tkachenko

Posted: 04/19/2004 20:55:48


There are two problems in your code:


1) You cannot use Length(Buffer). It returns a number of characters before

the first #0. But #0 can occur in the middle of RVF, and RVF is not finished

with #0.

So you need to store Stream.Size value together with Buffer


2) Call Stream.Position := 0; before rve.LoadRVFFromStream(Stream);





Powered by ABC Amber Outlook Express Converter