Recent

Author Topic: Advantage ADS 10 64bit AEP problems  (Read 4602 times)

Catephatic

  • Newbie
  • Posts: 2
Advantage ADS 10 64bit AEP problems
« on: May 21, 2011, 06:50:06 pm »
We are upgrading our Advantage Database Server from a 32 bit version to ADS10 64 bit running on a windows server.

I have a problem in that I need to convert two ADS AEP's (effectively DLL's) written in Delphi (2006) to run on the 64 bit machine.

ADS have not released TDataSet components in 64 bit yet, so I am unable to set up the project on a win 64 machine and compile directly to 64 bit.

I have set up Lazarus (latest) on a 32 bit (XP) machine, installed the ADS 10 components, and I can compile the AEP's to 32 bit.  I believe that I have successfully created a 32-to-64 cross-compiler ppcrossx64.exe with the help of posts on this forum (for which many thanks!), but I am unable to compile the AEP's to 64 bit from the Lazarus IDE (with the compiler target options set to Win64 and x86_64).  I get this message: adsdesign.pas(131,43) Fatal: Can't find unit LResources used by adsdesign

I am at a bit of a loss as to why Lazarus is happy with ADS at 32bit, but not at 64bit.  Any help would be greatly appreciated.


Laksen

  • Hero Member
  • *****
  • Posts: 624
    • J-Software
Re: Advantage ADS 10 64bit AEP problems
« Reply #1 on: May 21, 2011, 07:15:20 pm »
You need to recompile lazarus for 64bit. Or at least the LCL

Catephatic

  • Newbie
  • Posts: 2
Re: Advantage ADS 10 64bit AEP problems
« Reply #2 on: May 21, 2011, 08:16:51 pm »
Is this what you are refering to (taken from the original Marhant post)?

make lcl LCL_PLATFORM=win32 PP=ppcrossx64.exe CPU_TARGET=x86_64 OS_TARGET=win64

Laksen

  • Hero Member
  • *****
  • Posts: 624
    • J-Software
Re: Advantage ADS 10 64bit AEP problems
« Reply #3 on: May 21, 2011, 08:26:34 pm »
No, make lcl LCL_PLATFORM=win64 PP=ppcrossx64.exe CPU_TARGET=x86_64 OS_TARGET=win64