Cannot compile D2007

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
Nickm
Newbie
Newbie
Posts: 2
Joined: Thu Nov 02, 2017 12:00 am

Cannot compile D2007

Post by Nickm » Fri Nov 03, 2017 9:15 am

I needed to upgrade to get a fix (Excel export with later versions of Office)

I have just downloaded the latest version of V2017.22 (with full source) and tried to install on Delphi 2007 but when using TEECompile I get the following error:

===============================================
TeeChart Pro
Compilation started: 02/11/2017 15:08:12

Win32 v11 Enterprise (December 2007 Update)
Tee911

Cannot recompile Delphi package: Tee911.dpk CodeGear Delphi for Win32 compiler version 18.5 Copyright (c) 1983,2007 CodeGear

TeeProcs.pas(8158) Warning: W1000 Symbol 'GetHeapStatus' is deprecated

Series.pas(10926) Error: E2018 Record, object or class type required

Tee911.dpk(55) Fatal: F2063 Could not compile used unit 'Series.pas'
EXCEPTION:
Compilation aborted.
--------------------------------------------

Yeray
Site Admin
Site Admin
Posts: 9614
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: Cannot compile D2007

Post by Yeray » Fri Nov 03, 2017 9:29 am

Hello,
Nickm wrote:Series.pas(10926) Error: E2018 Record, object or class type required
If I'm not wrong, this is the line of the error, line 10926 of Series.pas:

Code: Select all

  TPenAccess(Pen).InitEndStyle({$IFDEF D9}TPenEndStyle.{$ENDIF}esFlat);
Try modifying that line for this:

Code: Select all

  TPenAccess(Pen).InitEndStyle({$IFDEF D16}TPenEndStyle.{$ENDIF}esFlat);
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

Nickm
Newbie
Newbie
Posts: 2
Joined: Thu Nov 02, 2017 12:00 am

Re: Cannot compile D2007

Post by Nickm » Fri Nov 03, 2017 2:23 pm

Thanks - that's fixed it.

Post Reply