trichview.com

trichview.support




table and Access violation


Return to index


Author

Message

Bruno C.

Posted: 06/26/2003 12:45:12


I have an access violation when I LoadRVFFromStream() a document with a

table. This is in this procedure :


Unit RVFMisc :


procedure RVFLoadControlBinary(const Data: String; var ctrl:

TComponent;

                               const ClassName: String;

                               ParentControl: TWinControl);

var Stream: TMemoryStream;

begin

  Stream := TMemoryStream.Create;

  try

    ...

    try

      ctrl := Stream.ReadComponent(ctrl); // -----> HERE IS THE CRASH

<-----

    except

      ctrl := nil;

    end;

    ...

  finally

    Stream.Free;

  end;

end;


after the crash, i continue (F9) and all is correct...

RichView Package 1.7.10

Bruno.



--

Bruno





Powered by ABC Amber Outlook Express Converter