Page 1 of 1
Incompatible types: 'TParams' and 'TZParams'
Posted: 24.03.2024, 21:09
by keko
hello Zeos 8.0 error SqlBulder [DCC Error] QueryBuilder.pas(292): E2010 Incompatible types: 'TParams' and 'TZParams'
Re: Incompatible types: 'TParams' and 'TZParams'
Posted: 25.03.2024, 12:21
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.
Re: Incompatible types: 'TParams' and 'TZParams'
Posted: 29.03.2024, 15:34
by Dfox
Good morning, how can I leave DISABLE_ZPARAM defined in zeos.inc by default?
Re: Incompatible types: 'TParams' and 'TZParams'
Posted: 31.03.2024, 20:38
by miab3
{$DEFINE DISABLE_ZPARAM}
Michal
Re: Incompatible types: 'TParams' and 'TZParams'
Posted: 31.03.2024, 21:44
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.
Re: Incompatible types: 'TParams' and 'TZParams'
Posted: 21.05.2024, 01:25
by Dfox
very good