#1 2023-06-22 02:25:39

mongkey
Member
Registered: 2021-08-26
Posts: 17

TSqlDBZeosConnectionPropertiesnot found?

Am i miss something?

i got install zeos on my IDE (laz).

Thank you

Offline

#2 2023-06-22 07:22:41

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 14,656
Website

Re: TSqlDBZeosConnectionPropertiesnot found?

There is a TSqlDBZeosConnectionProperties in mormot.db.sql.zeos.pas for mORMot 2.

As stated in the beginning of the unit, you need to undefine the NOSYNDBZEOS conditional from mormot2.lpk Lazarus package > Custom Options > Defines menu.

Or just include the unit in your project, of course with no  NOSYNDBZEOS conditional.

Offline

#3 2024-07-14 03:22:18

mormoter
Member
Registered: 2024-06-14
Posts: 20

Re: TSqlDBZeosConnectionPropertiesnot found?

uses
  mormot.db.sql.odbc,
  mormot.db.sql,
  mormot.db.sql.zeos;

I undefined -NOSYNDBZEOS  in mormot2.lpk and mormot2UI.lpk and recompiled both ,reinstall UI one,  but error is still : Identifier not found "TSqlDBZEOSConnectionProperties"

but, "TSqlDBODBCConnectionProperties  is oK

Last edited by mormoter (2024-07-14 03:23:53)

Offline

#4 2024-08-29 22:27:00

Antonio
Member
From: Porto Alegre - Brasil
Registered: 2013-03-26
Posts: 24
Website

Re: TSqlDBZeosConnectionPropertiesnot found?

Any solution? I have the same error, using PerfTestCases. I was only able to use it by adding mormot.db.sql.zeos to my project.

Last edited by Antonio (2024-08-29 22:48:54)

Offline

#5 2024-08-30 06:15:57

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 14,656
Website

Re: TSqlDBZeosConnectionPropertiesnot found?

This is as expected: either you undefine NOSYNDBZEOS in the package, or you manually add mormot.db.sql.zeos.pas in your project.
For obvious dependencies reasons, this unit is not enabled by default within the mormot package.

Offline

#6 2024-08-31 00:16:53

Antonio
Member
From: Porto Alegre - Brasil
Registered: 2013-03-26
Posts: 24
Website

Re: TSqlDBZeosConnectionPropertiesnot found?

Yes, but when I undefine NOSYNDBZEOS in the package, it doesn't work.

Offline

#7 2024-08-31 06:29:59

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 14,656
Website

Re: TSqlDBZeosConnectionPropertiesnot found?

Did you "recompile clean" the package?

Offline

Board footer

Powered by FluxBB