Incompatible types: 'TParams' and 'TZParams'
Incompatible types: 'TParams' and 'TZParams'
hello Zeos 8.0 error SqlBulder [DCC Error] QueryBuilder.pas(292): E2010 Incompatible types: 'TParams' and 'TZParams'
-
- Platinum Boarder
- Posts: 1956
- Joined: 17.01.2011, 14:17
Re: Incompatible types: 'TParams' and 'TZParams'
That happens when upgrading older Zeos applications to Zeos 8.0. You can use the DISABLE_ZPARAM define in zeos.inc or change all ZParams to TZParams.
Re: Incompatible types: 'TParams' and 'TZParams'
Good morning, how can I leave DISABLE_ZPARAM defined in zeos.inc by default?
Re: Incompatible types: 'TParams' and 'TZParams'
{$DEFINE DISABLE_ZPARAM}
Michal
Michal
Re: Incompatible types: 'TParams' and 'TZParams'
Normally you don't want to change it in the components .inc file. Add it as a compiler directive in your project.
Delphi 12.2, Zeos 8 from latest GIT snapshot
Using:
- MySQL server 8.0.18; libmysql.dll 8.0.40 x64 5.7.19 x68, libmariadb.dll 3.3.11
- Oracle server 11.2.0, 12.1.0, 19.0.0; oci.dll 21.15
- MSSQL 2012, 2019; sybdb.dll FreeTDS_3102
- SQLite 3.47
Using:
- MySQL server 8.0.18; libmysql.dll 8.0.40 x64 5.7.19 x68, libmariadb.dll 3.3.11
- Oracle server 11.2.0, 12.1.0, 19.0.0; oci.dll 21.15
- MSSQL 2012, 2019; sybdb.dll FreeTDS_3102
- SQLite 3.47