kooloveme / thtmlviewer

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

Problems with installation on Delphi XE2 #333

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Which steps will reproduce the problem?
1. Opening DPK
Loading the package: Error: Class TBegaZoomBox not found

2. Install the package
Installing: [DCC Error] HtmlGlobals.pas(161): E2003 Undeclared identifier: 
'TScrollStyle'

What is the expected output? 
Installation of the component in IDE

Which version of the product are you using? Which compiler version are you
using? On which operating system?
HtmlViewer114-r418.zip on Windows 7 Pro 64bit
Delphi XE2

How to install this component into Delphi XE2?

Original issue reported on code.google.com by i...@ego-techniek.nl on 14 Feb 2014 at 12:14

GoogleCodeExporter commented 9 years ago
Thanks for reporting this issue.

Version r451 in the repository should fix it.
As I cannot test XE2, please let me know, if it is actually fixed or not.

Thanks you again.
OrphanCat

Original comment by OrphanCat on 17 Feb 2014 at 7:48

GoogleCodeExporter commented 9 years ago
It is not working completely.
I've updated the DPK and inc file by hand, als I could find the files for 
download.

When I build the bpl I get following error:
[DCC Error] HtmlGlobals.pas(161): E2003 Undeclared identifier: 'TScrollStyle'

  {$ifdef HasSystemUITypes}
   ThtScrollStyle = System.UITypes.TScrollStyle;
  {$else}

Hope this helps.

Original comment by i...@ego-techniek.nl on 17 Feb 2014 at 9:40

GoogleCodeExporter commented 9 years ago
Thanks for testing. 

Please change the original htmlcons.inc as following:

insert after line 231 the following 4 lines:
--- start of additional text ---
  {$define UseVCLStyles}
{$endif}

{$ifdef Compiler24_Plus}
--- end of additional text ---

This will not define HasSystemUITypes for XE2 (Compiler23) and thus find 
TScrollStyle in Vcl.StdCtrls.

OrphanCat

Original comment by OrphanCat on 17 Feb 2014 at 10:57

GoogleCodeExporter commented 9 years ago
Yes, the last change did it.
I didn't expect such great support, but I'm very happy that it is there. 
Thank you very much.

Original comment by i...@ego-techniek.nl on 18 Feb 2014 at 6:18