Search found 53 matches

by JD
28.08.2023, 12:07
Forum: ZeosLib 7.3/8.0 Forum
Topic: Lazarus : Can't find unit ZDbcDbLib used by ZAbstractConnection when compiling Zeos r8041
Replies: 4
Views: 490

Re: Lazarus : Can't find unit ZDbcDbLib used by ZAbstractConnection when compiling Zeos r8041

Hi there,

I finally tracked down the problem. My project setup was referring to an older version of Zeos.

I've corrected the project setup, and it now works correctly.

Sorry for the mix-up, and thanks for your work and your invaluable assistance.

Cheers,

JD
by JD
18.08.2023, 09:08
Forum: ZeosLib 7.3/8.0 Forum
Topic: Lazarus : Can't find unit ZDbcDbLib used by ZAbstractConnection when compiling Zeos r8041
Replies: 4
Views: 490

Re: Lazarus : Can't find unit ZDbcDbLib used by ZAbstractConnection when compiling Zeos r8041

Hi there marsupilami,

My environment is
I never modified Zeos.inc or ZeosLazarus.inc in the /src folder.

Cheers,

JD
by JD
13.08.2023, 11:51
Forum: ZeosLib 7.3/8.0 Forum
Topic: Lazarus : Can't find unit ZDbcDbLib used by ZAbstractConnection when compiling Zeos r8041
Replies: 4
Views: 490

Lazarus : Can't find unit ZDbcDbLib used by ZAbstractConnection when compiling Zeos r8041

Hi there everyone, I am unable to compile Zeos trunk r8041 in Lazarus 2.2.6/FPC 3.2.2 x86_64-linux-gtk2. Whenever I try to compile the library, the compilation aborts on line 68 in ZDbcDbLib.pas and displays the message ZDbcDbLib.pas(68,37) Fatal: Can't find unit ZDbcDbLib used by ZAbstractConnectio...
by JD
27.04.2021, 10:45
Forum: ZeosLib 7.3/8.0 Forum
Topic: ZeosLib 8.0 r7460 Compilation Error
Replies: 6
Views: 243

Re: ZeosLib 8.0 r7460 Compilation Error

Hi JD, Why don't you use the "official" version Lazarus 2.0.12 ?. As far as I know, version 2.10 is not planned, only 2.0.14 and I hope 2.2. Michał Hi there Michal, I had to go with an unofficial version because there were some recent modifications in trunk to some components I use that t...
by JD
27.04.2021, 10:39
Forum: ZeosLib 7.3/8.0 Forum
Topic: ZeosLib 8.0 r7460 Compilation Error
Replies: 6
Views: 243

Re: ZeosLib 8.0 r7460 Compilation Error

Hello Jide, I id some tests today: I took the latest Zeos 8.0 and compiled it using Lazarus 2.0.12 and FPC 3.2.0 which in turn were generated using fpcupdeluxe. In my tests Zeos compiles for x86 as well as for x86_64 on my Windows 7 64 Bits VM. So - what advice can I give: Please make sure that the...
by JD
19.04.2021, 20:21
Forum: ZeosLib 7.3/8.0 Forum
Topic: ZeosLib 8.0 r7460 Compilation Error
Replies: 6
Views: 243

Re: ZeosLib 8.0 r7460 Compilation Error

Hi there Jan, Thanks for your reply and your suggestion. I installed a new copy of Lazarus with FPC 3.2 fixes and the result was the same. The compiler threw out line 649 of ZExpression.pas. As you can see from the image below, my installation of FPC 3.2 fixes was successful. Installing FPC 3.2 fixe...
by JD
18.04.2021, 18:17
Forum: ZeosLib 7.3/8.0 Forum
Topic: ZeosLib 8.0 r7460 Compilation Error
Replies: 6
Views: 243

ZeosLib 8.0 r7460 Compilation Error

Hi there everyone, My environment: Lazarus 2.1.0/FPC 3.2 mORMot version 1.18.6270 ZeosLib 8.0 r7460 I am having a very strange compilation error with Zeos 8.0 The compilation error was there in previous versions shows up once in a while and then later goes away. I decided to update to the latest ver...
by JD
05.12.2020, 13:02
Forum: ZeosLib 7.3/8.0 Forum
Topic: Problem in the ZExpression.pas file - compiler halts
Replies: 0
Views: 416

Problem in the ZExpression.pas file - compiler halts

Hi there everyone, I use Lazarus IDE 2.1.0/fpc 3.2 created with the aide of fpcupdeluxe. I recently downloaded and installed zeoslib-code-0-r7118-trunk into the IDE. When I compile a project of mine, I get the following error: ZExpression.pas(654,23) Error: Incompatible type for arg no. 2: Got "...
by JD
10.03.2018, 16:09
Forum: ZeosLib 7.2 Forum
Topic: 7.2 testers-thread
Replies: 514
Views: 120227

Re: 7.2-Beta testers-thread

I'm currently using Zeos 7.2.2. Can 7.3 be used on production systems?

JD
by JD
10.03.2018, 16:04
Forum: ZeosLib 7.2 Forum
Topic: [Solved] PostgreSQL: Problems inserting timestamp into table
Replies: 6
Views: 4027

Re: PostgreSQL: Problems inserting timestamp into table

Thanks to everyone for their suggestions. As Michael pointed out the problem was with mORMot or rather my understanding of how mORMot works.

I've cleaned up the code, used native pascal Date/Time handling functions and it now works properly.

Cheers,

JD
by JD
18.12.2017, 17:04
Forum: ZeosLib 7.2 Forum
Topic: [Solved] PostgreSQL: Problems inserting timestamp into table
Replies: 6
Views: 4027

Re: PostgreSQL: Problems inserting timestamp into table

Not in the way the query is set up as it does not use TDataSet components.
by JD
17.12.2017, 20:13
Forum: ZeosLib 7.2 Forum
Topic: [Solved] PostgreSQL: Problems inserting timestamp into table
Replies: 6
Views: 4027

[Solved] PostgreSQL: Problems inserting timestamp into table

Hi there everyone, I am using Zeos 7.2.1rc and I have a serious problem that has been bugging me for over two weeks. I am using NewPascal mORMot server to update a PostgreSQL 9.5 database. I've even used the same mORMot server to update another PostgreSQL 10 database and everything is fine so far. H...
by JD
09.03.2017, 15:31
Forum: ZeosLib 7.2 Forum
Topic: ZConnection problems connecting to PostgreSQL
Replies: 16
Views: 8241

Re: ZConnection problems connecting to PostgreSQL

Well I modified the same example for use with mORMot's SynDBZeos and my Zeos 7.2.1-rc (svn 3980) installation. And to my surprise, it worked. All connection and browsing is done at runtime, since mORMot does not use design time components. The code in my mORMot example is shown below: unit Unit1; {$...
by JD
09.03.2017, 13:05
Forum: ZeosLib 7.2 Forum
Topic: ZConnection problems connecting to PostgreSQL
Replies: 16
Views: 8241

Re: ZConnection problems connecting to PostgreSQL

I tried to debug the code and I saw that it just stops on the line ZQuery1.Open in the image below (line 48). It just stops responding.
Debug connection.png
JD
by JD
09.03.2017, 12:54
Forum: ZeosLib 7.2 Forum
Topic: ZConnection problems connecting to PostgreSQL
Replies: 16
Views: 8241

Re: ZConnection problems connecting to PostgreSQL

Hi there Jan, Thanks for your reply. I did as you suggested and downloaded the latest version 7.2.1 RC (svn 3980). I installed it an tried again and the result is the same. However I tried also to connect at design time and I got the following error DLL Error.png The message says the ordinal 4540 wa...