Incompatible types: 'TParams' and 'TZParams'

The offical for ZeosLib 7.3 Report problems, ask for help, post proposals for the new version of Zeoslib 7.3/v8
Quick Info:
-We made two new drivers: odbc(raw and unicode version) and oledb
-GUID domain/field-defined support for FB
-extended error infos of Firebird
-performance ups are still in queue
In future some more feature will arrive, so stay tuned and don't hassitate to help
Post Reply
keko
Fresh Boarder
Fresh Boarder
Posts: 1
Joined: 24.03.2024, 21:07

Incompatible types: 'TParams' and 'TZParams'

Post by keko »

hello Zeos 8.0 error SqlBulder [DCC Error] QueryBuilder.pas(292): E2010 Incompatible types: 'TParams' and 'TZParams'
marsupilami
Platinum Boarder
Platinum Boarder
Posts: 1918
Joined: 17.01.2011, 14:17

Re: Incompatible types: 'TParams' and 'TZParams'

Post by marsupilami »

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.
Dfox
Fresh Boarder
Fresh Boarder
Posts: 8
Joined: 24.03.2024, 23:41

Re: Incompatible types: 'TParams' and 'TZParams'

Post by Dfox »

Good morning, how can I leave DISABLE_ZPARAM defined in zeos.inc by default?
miab3
Zeos Test Team
Zeos Test Team
Posts: 1309
Joined: 11.05.2012, 12:32
Location: Poland

Re: Incompatible types: 'TParams' and 'TZParams'

Post by miab3 »

{$DEFINE DISABLE_ZPARAM}

Michal
User avatar
aehimself
Zeos Dev Team
Zeos Dev Team
Posts: 765
Joined: 18.11.2018, 17:37
Location: Hungary

Re: Incompatible types: 'TParams' and 'TZParams'

Post by aehimself »

Dfox wrote: 29.03.2024, 15:34 Good morning, how can I leave DISABLE_ZPARAM defined in zeos.inc by default?
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
Dfox
Fresh Boarder
Fresh Boarder
Posts: 8
Joined: 24.03.2024, 23:41

Re: Incompatible types: 'TParams' and 'TZParams'

Post by Dfox »

very good :D
Post Reply