Page 1 of 1

Problem with RVHtmlViewImport compilation

Posted: Mon Apr 21, 2014 9:35 pm
by Alexander P.
Dear Sirs,

Please, help to build rvhtmlviewimport project. After compilation of project I got error:
[Error] rvHtmlViewImport.pas(160): Undeclared identifier: 'TRVStyleLength'
[Error] rvHtmlViewImport.pas(185): Undeclared identifier: 'ThtDocument'
[Error] rvHtmlViewImport.pas(188): Undeclared identifier: 'TRVTag'
[Error] rvHtmlViewImport.pas(265): Undeclared identifier: 'RVGraphicHandler'
[Error] rvHtmlViewImport.pas(265): Missing operator or semicolon
[Error] rvHtmlViewImport.pas(268): Missing operator or semicolon
[Error] rvHtmlViewImport.pas(271): Missing operator or semicolon
[Error] rvHtmlViewImport.pas(354): Undeclared identifier: 'HasBorderStyle'
[Error] rvHtmlViewImport.pas(847): Undeclared identifier: 'RVEMPTYTAG'
[Error] rvHtmlViewImport.pas(848): Types of actual and formal var parameters must be identical
[Warning] rvHtmlViewImport.pas(883): Comparing signed and unsigned types - widened both operands
[Error] rvHtmlViewImport.pas(888): Undeclared identifier: 'PixelsToUnits'
[Error] rvHtmlViewImport.pas(889): Undeclared identifier: 'PixelsToUnits'
[Error] rvHtmlViewImport.pas(890): Undeclared identifier: 'PixelsToUnits'
[Error] rvHtmlViewImport.pas(891): Undeclared identifier: 'PixelsToUnits'
[Error] rvHtmlViewImport.pas(904): Undeclared identifier: 'PixelsToUnits'
[Error] rvHtmlViewImport.pas(909): Undeclared identifier: 'PixelsToUnits'
[Error] rvHtmlViewImport.pas(913): Undeclared identifier: 'PixelsToUnits'
[Error] rvHtmlViewImport.pas(914): Undeclared identifier: 'PixelsToUnits'
[Error] rvHtmlViewImport.pas(915): Undeclared identifier: 'PixelsToUnits'
[Error] rvHtmlViewImport.pas(916): Undeclared identifier: 'PixelsToUnits'
[Error] rvHtmlViewImport.pas(929): Undeclared identifier: 'PixelsToUnits'
[Error] rvHtmlViewImport.pas(930): Undeclared identifier: 'PixelsToUnits'
[Error] rvHtmlViewImport.pas(931): Undeclared identifier: 'PixelsToUnits'
[Error] rvHtmlViewImport.pas(932): Undeclared identifier: 'PixelsToUnits'
[Error] rvHtmlViewImport.pas(955): Undeclared identifier: 'RVEMPTYTAG'
[Error] rvHtmlViewImport.pas(960): Undeclared identifier: 'PixelsToUnits'
[Error] rvHtmlViewImport.pas(1002): Record, object or class type required
[Error] rvHtmlViewImport.pas(1010): Record, object or class type required
[Error] rvHtmlViewImport.pas(1018): Record, object or class type required
[Error] rvHtmlViewImport.pas(1048): Undeclared identifier: 'PixelsToUnits'
[Error] rvHtmlViewImport.pas(1093): Undeclared identifier: 'bpDim'
[Error] rvHtmlViewImport.pas(1093): Incompatible types
[Error] rvHtmlViewImport.pas(1116): Undeclared identifier: 'SpecWd'
[Error] rvHtmlViewImport.pas(1118): Undeclared identifier: 'SpecWd'
[Error] rvHtmlViewImport.pas(1120): Record, object or class type required
[Error] rvHtmlViewImport.pas(1181): Undeclared identifier: 'Owner'
[Error] rvHtmlViewImport.pas(1224): Undeclared identifier: 'PixelsToUnits'
[Error] rvHtmlViewImport.pas(1224): Undeclared identifier: 'BorderWidth'
[Error] rvHtmlViewImport.pas(1228): Undeclared identifier: 'PixelsToUnits'
[Error] rvHtmlViewImport.pas(1229): Undeclared identifier: 'PixelsToUnits'
[Error] rvHtmlViewImport.pas(1230): Undeclared identifier: 'PixelsToUnits'
[Error] rvHtmlViewImport.pas(1231): Undeclared identifier: 'PixelsToUnits'
[Error] rvHtmlViewImport.pas(1232): Undeclared identifier: 'PixelsToUnits'
[Error] rvHtmlViewImport.pas(1245): Undeclared identifier: 'bpDim'
[Error] rvHtmlViewImport.pas(1245): Incompatible types
[Error] rvHtmlViewImport.pas(1277): Undeclared identifier: 'PixelsToUnits'
[Error] rvHtmlViewImport.pas(1294): Undeclared identifier: 'PixelsToUnits'
[Error] rvHtmlViewImport.pas(1318): Undeclared identifier: 'PixelsToUnits'
[Error] rvHtmlViewImport.pas(1320): Undeclared identifier: 'PixelsToUnits'
[Error] rvHtmlViewImport.pas(1341): Undeclared identifier: 'PixelsToUnits'
[Error] rvHtmlViewImport.pas(1397): Undeclared identifier: 'VertAlign'
[Error] rvHtmlViewImport.pas(1413): Undeclared identifier: 'RVEMPTYTAG'
[Error] rvHtmlViewImport.pas(1422): Undeclared identifier: 'PixelsToUnits'
[Error] rvHtmlViewImport.pas(1424): Undeclared identifier: 'PixelsToUnits'
[Error] rvHtmlViewImport.pas(1457): Undeclared identifier: 'UseStyleTemplates'
[Error] rvHtmlViewImport.pas(1459): Undeclared identifier: 'RVHYPERLINKSTYLETEMPLATENAME'
[Error] rvHtmlViewImport.pas(1525): Undeclared identifier: 'PixelsToUnits'
[Error] rvHtmlViewImport.pas(1534): Undeclared identifier: 'PixelsToUnits'
[Error] rvHtmlViewImport.pas(1559): Undeclared identifier: 'RVEMPTYTAG'
[Error] rvHtmlViewImport.pas(1581): Undeclared identifier: 'RVEMPTYTAG'
[Error] rvHtmlViewImport.pas(1596): Undeclared identifier: 'GetControlCountAt'
[Error] rvHtmlViewImport.pas(1599): Undeclared identifier: 'FindControl'
[Error] rvHtmlViewImport.pas(1599): Missing operator or semicolon
[Error] rvHtmlViewImport.pas(1641): Undeclared identifier: 'ListFont'
[Error] rvHtmlViewImport.pas(1641): '(' expected but ';' found
[Error] rvHtmlViewImport.pas(1643): Missing operator or semicolon
[Error] rvHtmlViewImport.pas(1643): Undeclared identifier: 'ListFont'
[Error] rvHtmlViewImport.pas(1644): Undeclared identifier: 'ListFont'
[Error] rvHtmlViewImport.pas(1644): Statement expected, but expression of type 'PropIndices' found
[Error] rvHtmlViewImport.pas(1647): Undeclared identifier: 'ListStyleType'
[Error] rvHtmlViewImport.pas(1675): Undeclared identifier: 'PixelsToUnits'
[Error] rvHtmlViewImport.pas(1694): Undeclared identifier: 'ListNumb'
[Error] rvHtmlViewImport.pas(1695): Undeclared identifier: 'ListNumb'
[Warning] rvHtmlViewImport.pas(1695): Comparing signed and unsigned types - widened both operands
[Error] rvHtmlViewImport.pas(1705): Undeclared identifier: 'ListNumb'
[Error] rvHtmlViewImport.pas(1719): Undeclared identifier: 'ListNumb'
[Error] rvHtmlViewImport.pas(1829): 'DO' expected but identifier 'IDNameList' found
[Error] rvHtmlViewImport.pas(1830): 'THEN' expected but identifier 'IDNameList' found
[Error] rvHtmlViewImport.pas(1832): Missing operator or semicolon



About components:
rvhtmlviewimport is used lates from Downloads on google code
richview is latest trial v14

Library path used
D:\RichView14\1-TRichView\Trial\D7
D:\RichView14\2-RichViewActions\Styles
D:\RichView14\3-ScaleRichView\Trial\D7
D:\RichView14\4-SRVControls
D:\RichView14\2-RichViewActions

Where I can find trvstylelength and other types from RVStyle unit?

Thank you,
Alexander

Posted: Mon Apr 21, 2014 9:59 pm
by Sergey Tkachenko
May be you have older version of TRichView installed before, and Delphi tries to compile rvHtmlViewImporter with it instead of v14 trial?

TRVStyleLength is defined in RVStyle unit.

Also, errors about 'ThtDocument' and 'SpecWd' indicate that you do not use the newest version of THTMLViewer (probably you have an older version somewhere, and Delphi uses it instead of a new version)

Search for older versions and delete them.

Posted: Tue Apr 22, 2014 6:28 pm
by Alexander P.
Hello Sergey,

thank you for help. Indeed I downloaded new version of htmlview and problem with ThtDocumant and SpecWd dissapeared.

Also I downloaded trial version of Richview (file rvpkg.zip) from http://www.trichview.com/download/ . Build october 31 2013

I deleted previos version and added to Delphi Environment options-Libraries path to unpacked Richview. Path to library I set as D:\rvpkg\1-TRichView\Trial\D7

Still I receive error
[Error] rvHtmlViewImport.pas(160): Undeclared identifier: 'TRVStyleLength'
[Error] rvHtmlViewImport.pas(188): Undeclared identifier: 'TRVTag'
[Error] rvHtmlViewImport.pas(265): Undeclared identifier: 'RVGraphicHandler'

Could you help me - what was wrong in my Richview setup?

Thanl you,
Alexander

Posted: Wed Apr 23, 2014 5:32 pm
by Sergey Tkachenko
Did you have another TRichView version installed before?

Very probably, the old version is till used to compile files, even though you installed a newer trial. This old version should really be quite old, because TRVTag was introduced in version 13.3, released in 2011.

Posted: Fri Apr 25, 2014 9:03 pm
by Alexander P.
Sergey,

yes I had one old installed - but I removed it. Now all library paths in Delphi 7 Environment point to new version of trial.

Could we make short skype call to show what I have?

Thank you,
Alexander

Posted: Sat Apr 26, 2014 7:09 am
by Sergey Tkachenko
I still recommend to search for duplicate TRichView files, including pas, dcu, dcp and bpl and delete them.

Please use forum or email richviewgmailcom for techsupport.