Page 1 of 1

D2007 to XE10 Migration Problems

Posted: Sun Feb 19, 2017 7:56 am
by 16575204
Migrating a Project from D2007 to D XE 10
Have overcome most problems by Adding VCLTEE to the scope command and in the uses clauses.
Left with this message from the compiler

[dcc32 Error] VCLTee.TeCanvas.pas(4924): E2072 Number of elements (7) differs from declaration (9)
[dcc32 Error] VCLTee.TeCanvas.pas(5249): E2003 Undeclared identifier: 'tagSize'
[dcc32 Error] VCLTee.TeCanvas.pas(5275): E2066 Missing operator or semicolon
[dcc32 Error] VCLTee.TeCanvas.pas(5276): E2066 Missing operator or semicolon
[dcc32 Warning] VCLTee.TeCanvas.pas(16711): W1044 Suspicious typecast of string to PAnsiChar
[dcc32 Error] VCLTee.TeCanvas.pas(16711): E2010 Incompatible types: 'PWideChar' and 'PAnsiChar'
[dcc32 Fatal Error] VCLTee.TeeProcs.pas(633): F2063 Could not compile used unit 'VCLTee.TeCanvas.pas'

unfortunately I Cant find the unit, call or what ever that is causing this.
Feels like Its seeing the FMX stuff instead of VCL.
any Ideas of How to Track this down Gratly Appreciated
Regards
Ian

Re: D2007 to XE10 Migration Problems

Posted: Mon Feb 20, 2017 1:59 pm
by yeray
Hello Ian,

I'd check the paths as explained here.