Different behavior with 64bit Windows

Discussion of open issues, suggestions and bugs regarding IBDAC (InterBase Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
ralle1
Posts: 43
Joined: Thu 27 May 2010 15:01

Different behavior with 64bit Windows

Post by ralle1 » Tue 16 Apr 2013 13:42

Hello,

I have got 2 windows systems with same Delphi and Devart Versions:
1) Win 7 prof SP1 32bit with Delphi 2007 and IBDAC 3.10.0.16
2) Win 7 prof SP1 64bit with Delphi 2007 and IBDAC 3.10.0.16

In both systems I start the same project with absolutely the same source code.
I build an executable of this project on both systems.

I use this executables on a third system. Both connect with the same database and the same SQL (Same folder, everything seems the same).

In the SQL there is no "order by" (I know this is wrong...).
Everything seems completely identical but the ordering is different.

What could be reasons for this differently behavior?
I really want to rule out that something is misconfigured. It’s a problem if the user will get different versions.

Thank you for help.

AndreyZ

Re: Different behavior with 64bit Windows

Post by AndreyZ » Wed 17 Apr 2013 07:48

Hello,

By default, IBDAC does not influence the ordering of data received from the server.
Please check the following:
- the IndexFieldNames property is blank. Otherwise, IBDAC performs local sorting.
- if you use the TClientDataSet and TDataSetProvider components, make sure the TDataSetProvider.Options.poRetainServerOrder option is set to True.
- make sure you are using the same IBDAC version on both Windows;
- make sure you are using the same Delphi 2007 version on both Windows;
- make sure you are using the same client library (gds32.dll or fbclient.dll) version on both Windows.
If it does not help, please try creating a small sample to demonstrate the problem and send it to andreyz*devart*com . Also please specify the following:
- the exact version of your Delphi 2007 (for example, 11.0.2902.10471 );
- the exact version of InterBase or Firebird server and client you are using. You can learn it from the Info sheet of TIBCConnection Editor.

ralle1
Posts: 43
Joined: Thu 27 May 2010 15:01

Re: Different behavior with 64bit Windows

Post by ralle1 » Fri 19 Apr 2013 06:16

Hello,

Everything is exacly the same. The executables were tested on completely the same system. The only differences are:
- Compiling on 64bit Windows vs. 32bit Windows
- The compiling machines have local different firebird versions installed. So there are different client libraries. But on the destination machine it is for both executables identical.
- IndexFieldNames, TClientDataSet, TDataSetProvider are not used

AndreyZ

Re: Different behavior with 64bit Windows

Post by AndreyZ » Fri 19 Apr 2013 07:35

Please provide the sample and all the information I asked you in my previous post. Without this information I am not able to investigate this question.

Post Reply