Search found 27 matches

by Soner
25.12.2020, 13:00
Forum: Lazarus / Freepascal
Topic: (solved)New bug created in Version 7.2.6?
Replies: 8
Views: 508

Re: (solved)New bug created in Version 7.2.6?

Jan, thanks for your suggestions.

Forget what i wrote in this topic. I made stupid error, I forgot to free the stream. :oops:
The application also works in new Zeos version without copying the stream.
by Soner
25.12.2020, 12:25
Forum: Lazarus / Freepascal
Topic: (solved)ZEOS 7.2.6, ZIBEventAlerter error
Replies: 6
Views: 476

Re: ZEOS 7.2.6, ZIBEventAlerter error

Yes, I installed yesterday Lazarus 2.0.11 and fpc 3.2.1 64bit and Zeos 7.2.8-stable, it works without error.
Thanks to zeos team.

Sorry that i answered too late.
by Soner
10.04.2020, 13:46
Forum: Lazarus / Freepascal
Topic: (solved)ZEOS 7.2.6, ZIBEventAlerter error
Replies: 6
Views: 476

Re: ZEOS 7.2.6, ZIBEventAlerter error

This error doesn't appear on Lazarus 1.8.5, freepascal 3.0.4, both 32 Bit,
only with Lazarus 2.0.6, freepascal 3.0.4, both 64 Bit.
Maybe freepascal 64 bit has failure or new lazarus has failure or zeos 7.2.6 works not good with 64 bit or new lazarus.
by Soner
10.04.2020, 13:40
Forum: Lazarus / Freepascal
Topic: (solved)New bug created in Version 7.2.6?
Replies: 8
Views: 508

Re: New bug created in Version 7.2.6?

I found out that this error has nothing to do with ZEOS. It is Freepascal/Lazarus error. My Zeos 7.2.4 was on Lazarus 1.8.4 with Freepascal 3.0.4. both 32 Bit . I tried 7.2.6 only on my new system Lazarus 2.0.7 with Freepascal 3.0.4. both 64 Bit . When use 7.2.6 on my old system then the error in th...
by Soner
10.04.2020, 11:37
Forum: Lazarus / Freepascal
Topic: (solved)New bug created in Version 7.2.6?
Replies: 8
Views: 508

Re: New bug created in Version 7.2.6?

Copy of the stream is no option, this makes application unnecessarily slow. I think my workaround solution is good for me, it does not reference connection, I can close it without error. I must solve, why die first thierteen bytes of the blob are different then as ZEOS-function. EDIT: I found out wh...
by Soner
06.04.2020, 23:43
Forum: Lazarus / Freepascal
Topic: (solved)New bug created in Version 7.2.6?
Replies: 8
Views: 508

Re: New bug created in Version 7.2.6?

I have another Question. I created a workaround for this error. I used same code, I removed only unnecessary parts. My Workaround returns first 13 bytes of the blob different, look at the picture: difference.png This is the workaround code. Important part is TZBlobStreamCreate . {$REGION 'Workaround...
by Soner
06.04.2020, 21:57
Forum: Lazarus / Freepascal
Topic: (solved)New bug created in Version 7.2.6?
Replies: 8
Views: 508

Re: New bug created in Version 7.2.6?

I inspected the execution with debugger. The error occurs in "procedure TZAbstractConnection.Disconnect;" when it calls FConnection.Close;
by Soner
06.04.2020, 21:19
Forum: Lazarus / Freepascal
Topic: (solved)New bug created in Version 7.2.6?
Replies: 8
Views: 508

Re: New bug created in Version 7.2.6?

This line creates Error: Result :=TMemoryStream(aQ.CreateBlobStream(TBlobField(aQ.FieldByName('ACDATA')),bmRead)) When I free the result-stream in calling-function, then there is no error. But I want hold the stream and close close connection. In Zeos 7.2.6. you can not close connection without free...
by Soner
06.04.2020, 20:35
Forum: Lazarus / Freepascal
Topic: (solved)New bug created in Version 7.2.6?
Replies: 8
Views: 508

(solved)New bug created in Version 7.2.6?

Ich have big trouble friends. I used Zeos 7.2.4-stable on windows "without" troubles. I wanted compile my program for MacOs. But TZIBEventAlerter from Zeos 7.2.4. had bug on Macos, it could not difference Events. So I updated to Zeos 7.2.6-trunk version, but the trunk version has new bug w...
by Soner
06.04.2020, 19:39
Forum: Lazarus / Freepascal
Topic: (solved)ZEOS 7.2.6, ZIBEventAlerter error
Replies: 6
Views: 476

Re: ZEOS 7.2.6, ZIBEventAlerter error

This error still exists in trunk version from today. (svn r6416).
by Soner
02.01.2020, 14:35
Forum: Lazarus / Freepascal
Topic: (solved)ZEOS 7.2.6, ZIBEventAlerter error
Replies: 6
Views: 476

Re: ZEOS 7.2.6, ZIBEventAlerter error

Now I tested trunk version (r6213) it has also error.

now I will zeosdbo-7.2.6-stable version and mark this topic solved.
by Soner
02.01.2020, 14:22
Forum: Lazarus / Freepascal
Topic: (solved)ZEOS 7.2.6, ZIBEventAlerter error
Replies: 6
Views: 476

Re: ZEOS 7.2.6, ZIBEventAlerter error

Version zeosdbo-7.2.6-stable works without error.
by Soner
02.01.2020, 14:15
Forum: Lazarus / Freepascal
Topic: (solved)ZEOS 7.2.6, ZIBEventAlerter error
Replies: 6
Views: 476

(solved)ZEOS 7.2.6, ZIBEventAlerter error

Hello, I am using ZEOS 7.2.6,svn-r6194 from 18.12.2019. (Lazarus 2.6, fpc 3.0.4 both 64-Bit Windows 7) When I use TZIBEventAlerter-Component then exception occures. Nobody else is using TZIBEventAlerter or does it only happen to me? I had no errors with Zeos-version 7.2.4-stable. How to reproduce it...
by Soner
12.12.2018, 09:42
Forum: Lazarus / Freepascal
Topic: How to get for cacheddataset oldvalue from specific row?
Replies: 3
Views: 1356

Re: How to get for cacheddataset oldvalue from specific row?

Yes, I am using cachedupdates.
I was happy with my solution from this topic http://zeoslib.sourceforge.net/viewtopi ... 92#p102889,
but it doesn't work with clientside sorted dataset.
If someone wants, then I can upload my modified zeoslib with an example.
by Soner
10.12.2018, 13:31
Forum: Lazarus / Freepascal
Topic: How to get for cacheddataset oldvalue from specific row?
Replies: 3
Views: 1356

Re: How to get for cacheddataset oldvalue from specific row?

Today, I tried this with SQLDB-Components from Free Pascal. It has similar error.
If you interested look here http://forum.lazarus-ide.org/index.php/ ... .msg304439