rvHtmlViewImportD2010 Error

General TRichView support forum. Please post your questions here
Post Reply
adamrich
Posts: 35
Joined: Sun Feb 19, 2006 1:55 pm

rvHtmlViewImportD2010 Error

Post by adamrich »

I’m having difficulty to compile rvHtmlViewImportD2010 in Delphi 2010.
I download the source code the website and from code.google. both has issue
If deactivate GOOGLECODE or not,
If deactivate GOOGLECODE I get 65 errors
[DCC Error] rvHtmlViewImport.pas(199): E2003 Undeclared identifier: 'TSectionList'
[DCC Error] rvHtmlViewImport.pas(343): E2003 Undeclared identifier: 'BorderStyleType'
[DCC Error] rvHtmlViewImport.pas(344): E2003 Undeclared identifier: 'TMarginArray' so on
And If activate GOOGLECODE I get 15 errors
[DCC Error] rvHtmlViewImport.pas(1283): E2003 Undeclared identifier: 'CellSpacingVert'
[DCC Error] rvHtmlViewImport.pas(1284): E2003 Undeclared identifier: 'CellSpacingHorz'
[DCC Error] rvHtmlViewImport.pas(1285): E2003 Undeclared identifier: 'CellSpacingVert' so on,
I did read readme.txt, but has some outdated information that doesn’t exists in some pas
For example , read me says do this:
In "HTMLUn2.pas" in class "TChPosObj"
TChPosObj = class (TIDObject)
public < -- change "private" to "public", so we can access ChPos
ChPos: integer;
List: TList;
But there is no TChPosObj = class (TIDObject) in HTMLUn2.pas
Hope someone can help me to compile it without error, Thanks
Sergey Tkachenko
Site Admin
Posts: 17557
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post by Sergey Tkachenko »

Probably you downloaded not the newest version of THTMLViewer from googlecode.
It can be downloaded using SVN.
If you never worked with SVN before, I recommend to download free svn client http://tortoisesvn.net/
Then create any folder, right click in Explorer, choose the command “SVN Checkout”, paste in “URL or repository” the address http://thtmlviewer.googlecode.com/svn/trunk/ , click OK
In future, to update to newer revision, right click this folder and choose “SVN Update”
adamrich
Posts: 35
Joined: Sun Feb 19, 2006 1:55 pm

Post by adamrich »

Thank you , that worked, :D
Post Reply