How to use daSDAC on 64bit project

Discussion of open issues, suggestions and bugs regarding SDAC (SQL Server Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
brace
Posts: 213
Joined: Wed 14 Feb 2007 08:26

How to use daSDAC on 64bit project

Post by brace » Mon 13 Feb 2012 15:40

Hello,

I am porting top 64bits one project taht uses Rpoert Builder, there fore daSdac is involved. This is located at

C:\Program Files (x86)\Embarcadero\RAD Studio\9.0\source\SDAC\Demos\Win32\ThirdParty\ReportBuilder

How to obtain the 64bit version?

AndreyZ

Post by AndreyZ » Mon 13 Feb 2012 17:37

Hello,

You can download ReportBuilder at http://www.digital-metaphors.com

brace
Posts: 213
Joined: Wed 14 Feb 2007 08:26

Post by brace » Tue 14 Feb 2012 08:31

No I didn't express my self.

In my project in the uses clause of one unit i have

uses
..., daSdac, ...;

When building a 64 bit application daSdac gives error since it is 32 bit package only.

Can you please publish the code to make daSdac available for 64 bits too?

AndreyZ

Post by AndreyZ » Tue 14 Feb 2012 13:16

Hello,

We have fixed this problem. This fix will be included in the next SDAC build.
To solve the problem, you should add the following code before every definition of TdaSDAC classes in the daSDAC.pas unit:

Code: Select all

{$IFDEF VER230}
  [ComponentPlatformsAttribute(pidWin32 or pidWin64)]
{$ENDIF}

Post Reply