trichview.com

trichview.support




Re: table and Access violation


Return to index


Author

Message

Bruno C.

Posted: 06/30/2003 9:44:21


Il se trouve que "Sergey Tkachenko" a formule :

> I loaded this file in RVEditDemo.dpr - it does not crash... I tried both

> with the latest version of RV and compiled demo from the web site

> (http://www.trichview.com/rvfiles/rvedit.zip)

>

> Try the following:

> - may be you have several versions of RV in different directories, and they

> are conflicting; delete all of them except one

> - rebuild your project (Project | Build)

>

>> 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);


I find where exactly I have the crash :


in RVTable.pas,


procedure TD.Loaded;

begin

  inherited;

  dec(FCellCount);

  if FCellCount=0 then

    FRVTableSW.Free;

end; // HERE when FRVTableSW.Free


if I do this, no crash:


procedure TD.Loaded;

begin

  inherited;

  dec(FCellCount);

  //if FCellCount=0 then

    //FRVTableSW.Free;

end;


Bruno.



--

Bruno





Powered by ABC Amber Outlook Express Converter