Page 2 of 4

Re: harbour/xharbour appear ADS functions error

PostPosted: Wed Apr 03, 2024 12:48 pm
by Enrico Maria Giordano
richard-service wrote:
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: Select all  Expand view
rem echo %hdir%\lib\rddads.lib + >> b32.bc

Re: harbour/xharbour appear ADS functions error

PostPosted: Wed Apr 03, 2024 12:52 pm
by richard-service
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.

Re: harbour/xharbour appear ADS functions error

PostPosted: Wed Apr 03, 2024 12:56 pm
by richard-service
Enrico Maria Giordano wrote:
richard-service wrote:
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: Select all  Expand view
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 *


Re: harbour/xharbour appear ADS functions error

PostPosted: Wed Apr 03, 2024 1:07 pm
by Enrico Maria Giordano
I'm investigating...

Re: harbour/xharbour appear ADS functions error

PostPosted: Wed Apr 03, 2024 2:50 pm
by Enrico Maria Giordano

Re: harbour/xharbour appear ADS functions error

PostPosted: Wed Apr 03, 2024 3:14 pm
by Enrico Maria Giordano
At the moment xHarbour does not support ADS for 64 bit. Harbour should do it, please check, if you can.

Re: harbour/xharbour appear ADS functions error

PostPosted: Wed Apr 03, 2024 3:24 pm
by richard-service


Dear EMG,

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

Re: harbour/xharbour appear ADS functions error

PostPosted: Wed Apr 03, 2024 4:39 pm
by Enrico Maria Giordano
You are right, I have to update the other build too. I'm going to do it. Can you check ADS64 with Harbour, please?

Re: harbour/xharbour appear ADS functions error

PostPosted: Wed Apr 03, 2024 5:16 pm
by Enrico Maria Giordano
All Harbour builds updated with ads.ch in the include directory:

https://github.com/FiveTechSoft/harbour_and_xharbour_builds

Re: harbour/xharbour appear ADS functions error

PostPosted: Thu Apr 04, 2024 5:48 am
by Antonio Linares
Many thanks Enrico! :-)

Re: harbour/xharbour appear ADS functions error

PostPosted: Thu Apr 04, 2024 9:23 am
by Enrico Maria Giordano
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.

Re: harbour/xharbour appear ADS functions error

PostPosted: Thu Apr 04, 2024 10:08 am
by Antonio Linares
Dear Enrico,

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

Re: harbour/xharbour appear ADS functions error

PostPosted: Thu Apr 04, 2024 10:12 am
by richard-service
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.

Re: harbour/xharbour appear ADS functions error

PostPosted: Thu Apr 04, 2024 10:14 am
by Enrico Maria Giordano
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?

Re: harbour/xharbour appear ADS functions error

PostPosted: Thu Apr 04, 2024 10:27 am
by richard-service
Enrico Maria Giordano wrote:
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?


Yes