trichview.com

trichview.support




TRichviewEdit in DLL


Return to index


Author

Message

hpsmall

Posted: 06/18/2004 9:07:55


In my program, I pass a TRichviewEdit(named rve) as a param to a dll. In this

dll, I do the following:


var

St:TMemoryStream;

begin

    St:=TMemoryStream.Create;

    rve.SaveRVFToStream(St, false);

    St.Position := 0;

    DLLRichViewEdit.Clear;

    DLLRichViewEdit.LoadRVFFromStream(St); <--- This cause a fatal error

    DLLRichViewEdit.Format;

end;


As I know, this code can run in a normal application. So I wonder....





Powered by ABC Amber Outlook Express Converter