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: 1918
- 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.1, Zeos 8 from latest GIT snapshot
Using:
- MySQL server 8.0.18; libmariadb.dll 3.3.8
- Oracle server 11.2.0, 12.1.0, 19.0.0; oci.dll 21.13
- MSSQL 2012, 2019; sybdb.dll FreeTDS_2435
- SQLite 3.45.2
Using:
- MySQL server 8.0.18; libmariadb.dll 3.3.8
- Oracle server 11.2.0, 12.1.0, 19.0.0; oci.dll 21.13
- MSSQL 2012, 2019; sybdb.dll FreeTDS_2435
- SQLite 3.45.2