kooloveme / thtmlviewer

Automatically exported from code.google.com/p/thtmlviewer
Other
0 stars 0 forks source link

Error AV #118

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
1. AV error occurs when opening a page and the page is displayed.

2. Earnest request: enter in your source code:

   TBlockLI = class (TBlock)
   private
 {!!!} protected
     FListType: ListTypeType;
     FListNumb: Integer;
 ...

   / / Deprecated
   TChPosObj = class (TIDObject)
   private
 {!!!} public
     FDocument: ThtDocument;
     FChPos: Integer;
 ...

This is necessary to use the export function of RichView. (so that every time 
manually to make changes)

3. Set in the XE2-64bit.
FrameViewer .... dpk package is intended for Designtime, and for the Runtime. 
Installation requires separate packages to 64-bit compiler is not to say that 
the package "designide" not found.

Original issue reported on code.google.com by SchwarzK...@yandex.ru on 28 Jan 2012 at 11:11

Attachments:

GoogleCodeExporter commented 9 years ago
r226 fixes the AV.

FrameViewerXE2.dpk *is* a design time only package.

Original comment by OrphanCat on 28 Jan 2012 at 4:24

GoogleCodeExporter commented 9 years ago
Was fixed, but the page is displayed worse.

Original comment by SchwarzK...@yandex.ru on 28 Jan 2012 at 5:15

Attachments:

GoogleCodeExporter commented 9 years ago
r227 fixes the use of an uninitialized variable in the new table width 
calculation.

Original comment by OrphanCat on 28 Jan 2012 at 9:11

GoogleCodeExporter commented 9 years ago
I did not notice the difference. The problem is not resolved.

Original comment by SchwarzK...@yandex.ru on 28 Jan 2012 at 9:35

Attachments:

GoogleCodeExporter commented 9 years ago
r232 fixes the table width calculation.

As to "2. Earnest request: enter in your source code":
Does it mean, that you need write access to the members? 
Last TRichView info about "moving members from public to private" was that it 
needs read access only and can use the public properties.

Original comment by OrphanCat on 30 Jan 2012 at 4:02

GoogleCodeExporter commented 9 years ago
"Does it mean, that you need write access to the members?"
Yes
quote:

In "Htmlsubs.pas" in class "TBlockLI"
   TBlockLI = class(TBlock)
    private
    protected // <-- insert this, so we can access ListType, etc.
      ListType: ListTypeType;
      ListNumb: integer;
    ...

In "HTMLUn2.pas" in class "TChPosObj"
  TChPosObj = class (TIDObject)
  public < -- change "private" to "public", so we can access ChPos
    ChPos: integer;
    List: TList;
   ...

but with the changes

I'm just tired of manually make changes with the release of a new revision :)

Original comment by SchwarzK...@yandex.ru on 30 Jan 2012 at 4:24

GoogleCodeExporter commented 9 years ago
r235 grants write access via properties to some members of TBlockLI and 
TChPosObj in HtmlViewer 11.

Original comment by OrphanCat on 31 Jan 2012 at 12:00