harbour/xharbour appear ADS functions error-SOLVED

User avatar
Enrico Maria Giordano
Posts: 8728
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia
Contact:

Re: harbour/xharbour appear ADS functions error

Post 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

rem echo %hdir%\lib\rddads.lib + >> b32.bc
User avatar
richard-service
Posts: 804
Joined: Tue Oct 16, 2007 8:57 am
Location: New Taipei City, Taiwan
Contact:

Re: harbour/xharbour appear ADS functions error

Post 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.
Best Regards,

Richard

Harbour 3.2.0dev (r2402101027) => Borland C++ v7.7 32bit
MySQL v8.0 /ADS v10
Harbour 3.2.0dev (r2011030937) => Borland C++ v7.4 64bit
User avatar
richard-service
Posts: 804
Joined: Tue Oct 16, 2007 8:57 am
Location: New Taipei City, Taiwan
Contact:

Re: harbour/xharbour appear ADS functions error

Post 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

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 (r2402101027) => Borland C++ v7.7 32bit
MySQL v8.0 /ADS v10
Harbour 3.2.0dev (r2011030937) => Borland C++ v7.4 64bit
User avatar
Enrico Maria Giordano
Posts: 8728
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia
Contact:

Re: harbour/xharbour appear ADS functions error

Post by Enrico Maria Giordano »

At the moment xHarbour does not support ADS for 64 bit. Harbour should do it, please check, if you can.
User avatar
richard-service
Posts: 804
Joined: Tue Oct 16, 2007 8:57 am
Location: New Taipei City, Taiwan
Contact:

Re: harbour/xharbour appear ADS functions error

Post by richard-service »

Enrico Maria Giordano wrote:Fixed, please check:

https://github.com/FiveTechSoft/harbour ... 240403.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 (r2402101027) => Borland C++ v7.7 32bit
MySQL v8.0 /ADS v10
Harbour 3.2.0dev (r2011030937) => Borland C++ v7.4 64bit
User avatar
Enrico Maria Giordano
Posts: 8728
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia
Contact:

Re: harbour/xharbour appear ADS functions error

Post 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?
User avatar
Antonio Linares
Site Admin
Posts: 42268
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Re: harbour/xharbour appear ADS functions error

Post by Antonio Linares »

Many thanks Enrico! :-)
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Enrico Maria Giordano
Posts: 8728
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia
Contact:

Re: harbour/xharbour appear ADS functions error

Post 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.
User avatar
Antonio Linares
Site Admin
Posts: 42268
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Re: harbour/xharbour appear ADS functions error

Post by Antonio Linares »

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
User avatar
richard-service
Posts: 804
Joined: Tue Oct 16, 2007 8:57 am
Location: New Taipei City, Taiwan
Contact:

Re: harbour/xharbour appear ADS functions error

Post 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.
Best Regards,

Richard

Harbour 3.2.0dev (r2402101027) => Borland C++ v7.7 32bit
MySQL v8.0 /ADS v10
Harbour 3.2.0dev (r2011030937) => Borland C++ v7.4 64bit
User avatar
Enrico Maria Giordano
Posts: 8728
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia
Contact:

Re: harbour/xharbour appear ADS functions error

Post 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?
User avatar
richard-service
Posts: 804
Joined: Tue Oct 16, 2007 8:57 am
Location: New Taipei City, Taiwan
Contact:

Re: harbour/xharbour appear ADS functions error

Post 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
Best Regards,

Richard

Harbour 3.2.0dev (r2402101027) => Borland C++ v7.7 32bit
MySQL v8.0 /ADS v10
Harbour 3.2.0dev (r2011030937) => Borland C++ v7.4 64bit
Post Reply