Record-Alignment and Version 4.0.1

Discussion of open issues, suggestions and bugs regarding IBDAC (InterBase Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
-ChrisE-
Posts: 17
Joined: Tue 22 Jun 2010 12:40

Record-Alignment and Version 4.0.1

Post by -ChrisE- » Thu 13 Oct 2011 05:48

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

AndreyZ

Post by AndreyZ » Fri 14 Oct 2011 11:26

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;

-ChrisE-
Posts: 17
Joined: Tue 22 Jun 2010 12:40

Post by -ChrisE- » Mon 17 Oct 2011 05:15

Thank you for support.

Work's fine :D

Post Reply