harbour/xharbour appear ADS functions error-SOLVED

Re: harbour/xharbour appear ADS functions error

Postby Enrico Maria Giordano » Wed Apr 03, 2024 12:48 pm

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
User avatar
Enrico Maria Giordano
 
Posts: 8715
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Re: harbour/xharbour appear ADS functions error

Postby richard-service » 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 (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: 803
Joined: Tue Oct 16, 2007 8:57 am
Location: New Taipei City, Taiwan

Re: harbour/xharbour appear ADS functions error

Postby richard-service » Wed Apr 03, 2024 12:56 pm

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 *

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: 803
Joined: Tue Oct 16, 2007 8:57 am
Location: New Taipei City, Taiwan



Re: harbour/xharbour appear ADS functions error

Postby Enrico Maria Giordano » Wed Apr 03, 2024 3:14 pm

At the moment xHarbour does not support ADS for 64 bit. Harbour should do it, please check, if you can.
User avatar
Enrico Maria Giordano
 
Posts: 8715
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Re: harbour/xharbour appear ADS functions error

Postby richard-service » Wed Apr 03, 2024 3:24 pm



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

Re: harbour/xharbour appear ADS functions error

Postby Enrico Maria Giordano » Wed Apr 03, 2024 4: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?
User avatar
Enrico Maria Giordano
 
Posts: 8715
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia


Re: harbour/xharbour appear ADS functions error

Postby Antonio Linares » Thu Apr 04, 2024 5:48 am

Many thanks Enrico! :-)
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42099
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: harbour/xharbour appear ADS functions error

Postby Enrico Maria Giordano » Thu Apr 04, 2024 9: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.
User avatar
Enrico Maria Giordano
 
Posts: 8715
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Re: harbour/xharbour appear ADS functions error

Postby Antonio Linares » 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
User avatar
Antonio Linares
Site Admin
 
Posts: 42099
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: harbour/xharbour appear ADS functions error

Postby richard-service » 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 (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: 803
Joined: Tue Oct 16, 2007 8:57 am
Location: New Taipei City, Taiwan

Re: harbour/xharbour appear ADS functions error

Postby Enrico Maria Giordano » 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?
User avatar
Enrico Maria Giordano
 
Posts: 8715
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Re: harbour/xharbour appear ADS functions error

Postby richard-service » Thu Apr 04, 2024 10:27 am

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

PreviousNext

Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot], Natter and 56 guests