FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour harbour/xharbour appear ADS functions error-SOLVED
Posts: 9022
Joined: Thu Oct 06, 2005 08:17 PM

Re: harbour/xharbour appear ADS functions error

Posted: Wed Apr 03, 2024 12:48 PM
richard-service wrote:
With ads.ch and linking rddads.lib I have no unresolved externals. Can I see the batch are you using to compile?
I use FWH\samples\Buildx.bat and Buildh.bat
Did you uncomment this line?
Code (fw): Select all Collapse
rem echo %hdir%\lib\rddads.lib + >> b32.bc
Posts: 866
Joined: Tue Oct 16, 2007 08:57 AM

Re: harbour/xharbour appear ADS functions error

Posted: Wed Apr 03, 2024 12:52 PM
Antonio Linares wrote:Dear Richard,

We have read about the earthquake on Taiwan, are you ok ?

Wishing you and all your loved ones, and everyone, is ok
Dear Antonio,

I live in New Taipei City and currently live a normal life.

Thank you for your concern.
Best Regards,



Richard



Harbour 3.2.0dev (r2503251254) => Borland C++ v7.7 32bit

MySQL v8.0

Harbour 3.2.0dev (r2503251254) => Borland C++ v7.7 64bit
Posts: 866
Joined: Tue Oct 16, 2007 08:57 AM

Re: harbour/xharbour appear ADS functions error

Posted: Wed Apr 03, 2024 12:56 PM
Enrico Maria Giordano wrote:
With ads.ch and linking rddads.lib I have no unresolved externals. Can I see the batch are you using to compile?
I use FWH\samples\Buildx.bat and Buildh.bat
Did you uncomment this line?
Code (fw): Select all Collapse
rem echo %hdir%\lib\rddads.lib + >> b32.bc
Yes, some error below:
  • Turbo Incremental Link 6.97 Copyright (c) 1997-2022 Embarcadero Technologies, Inc.
    Error: Unresolved external '_HB_FUN_ADSSETSERVERTYPE' referenced from S:\SETTOOL32\FWH\SAMPLES\TESTADS.OBJ
    Error: Unresolved external '_HB_FUN_ADSKEYCOUNT' referenced from S:\SETTOOL32\FWH\SAMPLES\TESTADS.OBJ
    Error: Unresolved external '_HB_FUN_ADSGETRELKEYPOS' referenced from S:\SETTOOL32\FWH\SAMPLES\TESTADS.OBJ
    Error: Unresolved external '_HB_FUN_ADSSETRELKEYPOS' referenced from S:\SETTOOL32\FWH\SAMPLES\TESTADS.OBJ
    Error: Unresolved external '_HB_FUN_ADSKEYNO' referenced from S:\SETTOOL32\FWH\SAMPLES\TESTADS.OBJ
    Error: Unable to perform link
    * Linking errors *
Best Regards,



Richard



Harbour 3.2.0dev (r2503251254) => Borland C++ v7.7 32bit

MySQL v8.0

Harbour 3.2.0dev (r2503251254) => Borland C++ v7.7 64bit
Posts: 9022
Joined: Thu Oct 06, 2005 08:17 PM

Re: harbour/xharbour appear ADS functions error

Posted: Wed Apr 03, 2024 01:07 PM

I'm investigating...

Posts: 9022
Joined: Thu Oct 06, 2005 08:17 PM
Posts: 9022
Joined: Thu Oct 06, 2005 08:17 PM

Re: harbour/xharbour appear ADS functions error

Posted: Wed Apr 03, 2024 03:14 PM

At the moment xHarbour does not support ADS for 64 bit. Harbour should do it, please check, if you can.

Posts: 866
Joined: Tue Oct 16, 2007 08:57 AM

Re: harbour/xharbour appear ADS functions error

Posted: Wed Apr 03, 2024 03:24 PM
Enrico Maria Giordano wrote:Fixed, please check:

https://github.com/FiveTechSoft/harbour_and_xharbour_builds/blob/master/harbour_bcc770_32_20240403.zip
Dear EMG,

This Harbour package zip file. Already include Ads.ch file.
It's working now. Thank you.
Best Regards,



Richard



Harbour 3.2.0dev (r2503251254) => Borland C++ v7.7 32bit

MySQL v8.0

Harbour 3.2.0dev (r2503251254) => Borland C++ v7.7 64bit
Posts: 9022
Joined: Thu Oct 06, 2005 08:17 PM

Re: harbour/xharbour appear ADS functions error

Posted: Wed Apr 03, 2024 04:39 PM

You are right, I have to update the other build too. I'm going to do it. Can you check ADS64 with Harbour, please?

Posts: 9022
Joined: Thu Oct 06, 2005 08:17 PM

Re: harbour/xharbour appear ADS functions error

Posted: Wed Apr 03, 2024 05:16 PM
All Harbour builds updated with ads.ch in the include directory:

https://github.com/FiveTechSoft/harbour_and_xharbour_builds
Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM

Re: harbour/xharbour appear ADS functions error

Posted: Thu Apr 04, 2024 05:48 AM
Many thanks Enrico! :-)
regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 9022
Joined: Thu Oct 06, 2005 08:17 PM

Re: harbour/xharbour appear ADS functions error

Posted: Thu Apr 04, 2024 09:23 AM

Do you think that adsloc32.dll and adsloc64.dll are needed? If yes, I will update the Harbour builds again with those DLLs in the dll directory. Please confirm.

Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM

Re: harbour/xharbour appear ADS functions error

Posted: Thu Apr 04, 2024 10:08 AM

Dear Enrico,

I think those DLLs belong to ADS SDK and should not be included in the Harbour distributions

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 866
Joined: Tue Oct 16, 2007 08:57 AM

Re: harbour/xharbour appear ADS functions error

Posted: Thu Apr 04, 2024 10:12 AM
Enrico Maria Giordano wrote:You are right, I have to update the other build too. I'm going to do it. Can you check ADS64 with Harbour, please?
Dear EMG,
My FWH64 version 2212, I can't use bcc77 64bit. only bcc74 64bit.
Best Regards,



Richard



Harbour 3.2.0dev (r2503251254) => Borland C++ v7.7 32bit

MySQL v8.0

Harbour 3.2.0dev (r2503251254) => Borland C++ v7.7 64bit
Posts: 9022
Joined: Thu Oct 06, 2005 08:17 PM

Re: harbour/xharbour appear ADS functions error

Posted: Thu Apr 04, 2024 10:14 AM
Antonio Linares wrote:Dear Enrico,

I think those DLLs belong to ADS SDK and should not be included in the Harbour distributions
I think they will help users and avoid confusion and mixing DLLs. I only wanted to know if, along ace32.dll/ace64.dll, also adsloc32.dll/adsloc64.dll are required to use ADS. Someone can confirm?
Posts: 866
Joined: Tue Oct 16, 2007 08:57 AM

Re: harbour/xharbour appear ADS functions error

Posted: Thu Apr 04, 2024 10:27 AM
Enrico Maria Giordano wrote:
Dear Enrico,

I think those DLLs belong to ADS SDK and should not be included in the Harbour distributions
I think they will help users and avoid confusion and mixing DLLs. I only wanted to know if, along ace32.dll/ace64.dll, also adsloc32.dll/adsloc64.dll are required to use ADS. Someone can confirm?
Yes
Best Regards,



Richard



Harbour 3.2.0dev (r2503251254) => Borland C++ v7.7 32bit

MySQL v8.0

Harbour 3.2.0dev (r2503251254) => Borland C++ v7.7 64bit