Page 1 of 1

Cannot compile D2007

Posted: Fri Nov 03, 2017 9:15 am
by 16582199
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.
--------------------------------------------

Re: Cannot compile D2007

Posted: Fri Nov 03, 2017 9:29 am
by yeray
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);

Re: Cannot compile D2007

Posted: Fri Nov 03, 2017 2:23 pm
by 16582199
Thanks - that's fixed it.