Page 1 of 1

Record-Alignment and Version 4.0.1

Posted: Thu 13 Oct 2011 05:48
by -ChrisE-
Hello,

we use Delphi 2007 and have IBDAC with Source-Code. Till Version 3.XX everything works fine with our project-options (record-alignment 1 instead of 8 ).
Now with Version 4.X it works only with record-alignment 8.

You can reproduce it with an new project with an Button and an TIBConnection. In the ButtonClick try to connect to any DB.
Set the project-options -> record-alignment to 1. Build and run :-)

Can you please fix this.

Thanks, Chris

Posted: Fri 14 Oct 2011 11:26
by AndreyZ
Thank you for the information. We have reproduced and fixed this problem. To solve the problem, you should add the {$A8} compiler directive to the beginning of the IBCCall unit. Here is an example:

Code: Select all

{$R-}
{$A8}

{$IFNDEF CLR}
{$IFNDEF UNIDACPRO}

{$I IbDac.inc}
unit IBCCall;

Posted: Mon 17 Oct 2011 05:15
by -ChrisE-
Thank you for support.

Work's fine :D