trichview.com

trichview.support




AV when load RTF file


Return to index


Author

Message

Neal

Posted: 02/11/2003 2:18:57


I dynamically create a TRichView object and get an AV when I try to load an

RTF file.  Any suggestions?  Using trial version with D7 Pro.


Code snippet:


var

  rv: TRichView;

begin

  rv := TRichView.Create( nil );

  try

    rv.LoadRTF('a.rtf'); // <---- AV here

  finally

    FreeAndNil( rv );

  end;

end;


(I've also tried loading the RTF into a stream and use LoadRTFFromStream,

but this also gives an AV.)


Thanks,

Neal





Powered by ABC Amber Outlook Express Converter