trichview.com

trichview.support




Re: table and Access violation


Return to index


Author

Message

Bruno C.

Posted: 06/26/2003 15:33:42


It's in a owner project with a TRichViewEdit component. But for

exemple, try the joined rvf document with the

\Demos\Delphi\Editors\Editor 1\RVEditDemo.dpr. The crash is not at the

same place but exists... my document seems to be not good but i don't

know why ? I save it with this code : EditRichview.SaveRVF(

SaveDialog1.FileName, false);


Bruno.


"Sergey Tkachenko" a utilisé son clavier pour écrire :

> 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



--

Bruno





Powered by ABC Amber Outlook Express Converter