Hi guys, I am a user of ZeosLib in Lazarus. I use it to connect to a FireBird 2.5 database and it works perfectly on win32 bit, mac os x, linux 32 bit, but when I compile for win64 bit I get a annoying bug in the component that handles firebird events.
Virtually any event he receives from the network always returns me and only the last (entered chronologically) in the list of accepted events.
Is it a known bug? Has it already been corrected?
Thank you
Bug with IB/FB Events on x64
Moderators: gto, cipto_kh, EgonHugeist
Bug with IB/FB Events on x64
Last edited by Fr0sT on 26.03.2018, 12:45, edited 1 time in total.
Reason: more meaningful subj
Reason: more meaningful subj
Re: Bug in Lazarus
Hi,
not much people use events they are not even being checked in test suite. So if you provide a simple test case, it likely will be included to catch such cases
not much people use events they are not even being checked in test suite. So if you provide a simple test case, it likely will be included to catch such cases
Re: Bug in Lazarus
Ok, this is my example. It run correctly on
win32, mac os x 32, ubuntu 32 bit
but not correctly on win64.
Press button start and after other button.
win32, mac os x 32, ubuntu 32 bit
but not correctly on win64.
Press button start and after other button.
You do not have the required permissions to view the files attached to this post.
Re: Bug in Lazarus
I've run a test project and must admit I don't understand how it works even on Win x32. Callback is called with all 3 events only on event '1', two other events are ignored.
EDIT Found the issue, affects Unicode Delphis
EDIT Found the issue, affects Unicode Delphis
Re: Bug in Lazarus
Confirm the issue with DXE2 @ W64.
Event2 is alerted as Event1 and Event3 as Event2
Event2 is alerted as Event1 and Event3 as Event2
Re: Bug in Lazarus
Well, isn't just my problem. Now, how resolve this bug?
Re: Bug in Lazarus
I'm investigating the issue. Currently I've no idea what's wrong - API just returns weird value.
Re: Bug with IB/FB Events on x64
Ok, please keep me updated. good job
Re: Bug with IB/FB Events on x64
I got it! Will commit the fix in a few minutes
ADD
Done, check 7.3 branch
ADD
Done, check 7.3 branch