trichview.com

trichview.support




Re: table and Access violation


Return to index


Author

Message

Sergey Tkachenko

Posted: 06/26/2003 13:36:02


Please give me instructions to reproduce this problem.

Does this happen on the specific RVF document? In all projects (including

actiontest or Demos\Delphi\Editor\Editor 1\)?

Send me document and/or project to reproduce the problem.



> 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