Search found 11 matches

by Kirill
29.11.2020, 10:04
Forum: ZeosLib 7.3/8.0 Forum
Topic: Problem with LCL definition
Replies: 10
Views: 556

Re: Problem with LCL definition

I have an idea. We can convert LCL define to FPC define in all these places. Seems that it will work fine for FPC greater than 3.0.
by Kirill
27.11.2020, 10:46
Forum: ZeosLib 7.3/8.0 Forum
Topic: Problem with LCL definition
Replies: 10
Views: 556

Re: Problem with LCL definition

I might be wrong. But checking for the LCL define is wrong on the DBC layer because we explicitly want it to work without the LCL being present. We explixitly removed the dependency on the LCL from all runtime packages and only kept it in the design time package. I suggest the following change ... ...
by Kirill
26.11.2020, 21:19
Forum: ZeosLib 7.3/8.0 Forum
Topic: Problem with LCL definition
Replies: 10
Views: 556

Re: Problem with LCL definition

Hi again. I have expected behaviour (a halt on the line with UTF-8) after the following actions: 1) Adding {$DEFINE LCL} into ZeosLazarus.inc. 2) Manually clearing all lib folders (.PPU and .O files). 3) Compiling ZComponent.lpk 4) Installing ZComponentDesign.lpk If I do only (1) I’ll obtain your be...
by Kirill
26.11.2020, 10:21
Forum: ZeosLib 7.3/8.0 Forum
Topic: Problem with LCL definition
Replies: 10
Views: 556

Problem with LCL definition

Hi. I use Lazarus 2.0.10 with FPC 3.2.0. I've encountered a very strange issue. When I don't install ZComponentDesign package all is OK. But when I install it LCL definition is absent in Zeos modules. I have attached screenshot from ZDbcDbLib module. It is not the problem of highlighting because cod...
by Kirill
26.11.2020, 10:08
Forum: ZeosLib 7.3/8.0 Forum
Topic: Several bugs in Zeos source code (r7115-trunk)
Replies: 2
Views: 231

Re: Several bugs in Zeos source code (r7115-trunk)

Hi, Michael! Thanks for fixing wrong defines. Revisiting asserts would also be great.
by Kirill
25.11.2020, 10:58
Forum: ZeosLib 7.3/8.0 Forum
Topic: Several bugs in Zeos source code (r7115-trunk)
Replies: 2
Views: 231

Several bugs in Zeos source code (r7115-trunk)

Hi. There are several misprints in ZAbstractRODataset module: WIT_ASLARGEINT instead of WITH_ASLARGEINT, WIT_WIDEMEMO instead of WITH_WIDEMEMO. In Zeos {$C-} is used for the release method. Assert procedures are ignored for this option. For example, in ZDbcODBCUtils module this line will be ignored:...
by Kirill
18.11.2020, 12:27
Forum: ZeosLib 7.3/8.0 Forum
Topic: How to handle transactions properly with Zeos?
Replies: 19
Views: 2723

Re: How to handle transactions properly with Zeos?

Hi, Michael!

The problem with TZTransaction component has been solved. Thank you very much.

Kirill.
by Kirill
15.11.2020, 16:15
Forum: ZeosLib 7.3/8.0 Forum
Topic: How to handle transactions properly with Zeos?
Replies: 19
Views: 2723

Re: How to handle transactions properly with Zeos?

Hi. I use Lazarus 2.0.10 with FPC 3.2.0. Zeos version is r7078-trunk. DBMS is Firebird 3.0. There are three components on the form: ZConnection1, ZQuery1, ZTransaction1. ZTransaction1.Connection is ZConnection1. ZQuery1.Connection is ZConnection1. ZQuery1.Transaction is ZTransaction1. The source cod...
by Kirill
11.11.2020, 21:00
Forum: ZeosLib 7.3/8.0 Forum
Topic: How to handle transactions properly with Zeos?
Replies: 19
Views: 2723

Re: How to handle transactions properly with Zeos?

EgonHugeist wrote: 11.07.2020, 07:13 TZTransaction added on 7.3-testing.
Thanks for adding TZTransaction component. Can you give an example of the proper use of this component?
by Kirill
21.08.2020, 17:40
Forum: ZeosLib 7.3/8.0 Forum
Topic: Problem with connection to a remote firebird host.
Replies: 2
Views: 354

Re: Problem with connection to a remote firebird host.

Hi, the problem has been solved. Thank you very much.
by Kirill
17.08.2020, 14:48
Forum: ZeosLib 7.3/8.0 Forum
Topic: Problem with connection to a remote firebird host.
Replies: 2
Views: 354

Problem with connection to a remote firebird host.

Hi. I use Lazarus 2.0.10 with FPC 3.2.0. I have downloaded a snapshot of ZeosLib 7.3 on https://sourceforge.net/p/zeoslib/code-0/HEAD/tree/. Now I can't connect to my remote firebird 3.0 server with SQL Error: Unable to complete network request to host "xnet://Global\FIREBIRD". There is no...