harbour/xharbour appear ADS functions error-SOLVED


Re: harbour/xharbour appear ADS functions error

Postby richard-service » Tue Apr 09, 2024 4:07 pm

Enrico Maria Giordano wrote:Done, please check:

http://xharbour.org/index.asp?page=download/windows/binaries_win


Dear EMG,

It's working fine. Thank you so much.
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-SOLVED

Postby richard-service » Tue Jun 18, 2024 4:18 pm

Enrico Maria Giordano wrote:Great! :-)


Dear Mr.EMG

I download bcc77_20240616 version. Appear This Title problem.

    Embarcadero C++ 7.70 for Win32 Copyright (c) 1993-2023 Embarcadero Technologies, Inc.
    Turbo Incremental Link 6.97 Copyright (c) 1997-2022 Embarcadero Technologies, Inc.
    Error: Unresolved external 'AdsSetServerType' referenced from S:\SETTOOL32\HARBOUR\LIB\RDDADS.LIB|adsfunc
    Error: Unresolved external 'AdsGetDateFormat' referenced from S:\SETTOOL32\HARBOUR\LIB\RDDADS.LIB|adsfunc
    Error: Unresolved external 'AdsSetDateFormat' referenced from S:\SETTOOL32\HARBOUR\LIB\RDDADS.LIB|adsfunc
    Error: Unresolved external 'AdsGetEpoch' referenced from S:\SETTOOL32\HARBOUR\LIB\RDDADS.LIB|adsfunc
    Error: Unresolved external 'AdsSetEpoch' referenced from S:\SETTOOL32\HARBOUR\LIB\RDDADS.LIB|adsfunc
Last edited by richard-service on Wed Jun 19, 2024 8:08 am, edited 1 time in total.
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-SOLVED

Postby richard-service » Wed Jun 19, 2024 4:48 am

Enrico Maria Giordano wrote:You have to link ace32.lib and rddads.lib.


Dear Mr.EMG

I'm a Po title question. I always link ace32.lib and rddads.ib.

RDDADS_LIB = $(HARBOUR_DIR)\Lib\rddads.lib
ACE32_LIB = $(HARBOUR_DIR)\Lib\ace32.lib

$(ECHO) $(RDDADS_LIB) >> make.tmp
$(ECHO) $(ACE32_LIB) >> make.tmp

You fixed this problem more times and the final 20240417 version is working fine.
I copied 20240616 files overwritten to 20240417 and got error. Then I copied 20240417 files overwritten to 20240616 and working.
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-SOLVED

Postby Enrico Maria Giordano » Wed Jun 19, 2024 7:20 am

I don't understand. Please, specify wich compiler are you using (Harbour, xHarbour) and provide a little PRG sample to reproduce the problem here, thank you.
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-SOLVED

Postby richard-service » Wed Jun 19, 2024 7:57 am

Enrico Maria Giordano wrote:I don't understand. Please, specify wich compiler are you using (Harbour, xHarbour) and provide a little PRG sample to reproduce the problem here, thank you.


20240616-bcc77-32bit-harbour

I use fwh\samples\testads.prg
Please look it below:

嚙踝蕭嚙踝蕭嚙踝蕭嚙踝蕭嚙踝蕭嚙踝蕭嚙踝蕭嚙踝蕭嚙踝蕭嚙踝蕭嚙踝蕭嚙踝蕭嚙踝蕭嚙踝蕭嚙踝蕭嚙踝蕭嚙踝蕭嚙踝蕭嚙踝蕭嚙踝蕭嚙踝蕭嚙踝蕭嚙踝蕭嚙踝蕭嚙踝蕭嚙踝蕭嚙踝蕭嚙踝蕭嚙踝蕭嚙踝蕭嚙踝蕭嚙踝蕭嚙踝蕭嚙踝蕭嚙踝蕭嚙踝蕭嚙踝蕭嚙踝蕭醴
嚙?FiveWin for Harbour 24.04 - Apr. 2024 Harbour development power 嚙踝蕭
嚙?(c) FiveTech 1993-2024 for Microsoft Windows 9X/NT/200X/ME/XP/Vista/7/8/10 嚙踝蕭
嚙踝蕭嚙踝蕭嚙踝蕭嚙踝蕭嚙踝蕭嚙踝蕭嚙踝蕭嚙踝蕭嚙踝蕭嚙踝蕭嚙踝蕭嚙踝蕭嚙踝蕭嚙踝蕭嚙踝蕭嚙踝蕭嚙踝蕭嚙踝蕭嚙踝蕭嚙踝蕭嚙踝蕭嚙踝蕭嚙踝蕭嚙踝蕭嚙踝蕭嚙踝蕭嚙踝蕭嚙踝蕭嚙踝蕭嚙踝蕭嚙踝蕭嚙踝蕭嚙踝蕭嚙踝蕭嚙踝蕭嚙踝蕭嚙踝蕭嚙踝蕭嚙踝蕭嚙?
'蕭嚙踝蕭嚙踝蕭嚙踝蕭嚙踝蕭嚙踝蕭嚙踝蕭嚙踝蕭嚙踝蕭嚙踝蕭嚙踝蕭嚙踝蕭嚙踝蕭嚙踝蕭嚙踝蕭嚙踝蕭嚙踝蕭嚙踝蕭嚙踝蕭嚙踝蕭嚙 踝蕭' 不是內部或外部命令、可執行的程式或批次檔。
Compiling...
Harbour 3.2.0dev (r2405310955)
Copyright (c) 1999-2021, https://harbour.github.io/
Compiling 'testads.prg' and generating preprocessed output to 'testads.ppo'...
Lines 5358, Functions/Procedures 1
Generating C source output to 'testads.c'... Done.
Embarcadero C++ 7.70 for Win32 Copyright (c) 1993-2023 Embarcadero Technologies, Inc.
testads.c:
Turbo Incremental Link 6.97 Copyright (c) 1997-2022 Embarcadero Technologies, Inc.
Error: Unresolved external 'AdsSetServerType' referenced from S:\SETTOOL32\HARBOUR\LIB\WIN\BCC\RDDADS.LIB|adsfunc
Error: Unresolved external 'AdsGetDateFormat' referenced from S:\SETTOOL32\HARBOUR\LIB\WIN\BCC\RDDADS.LIB|adsfunc
Error: Unresolved external 'AdsSetDateFormat' referenced from S:\SETTOOL32\HARBOUR\LIB\WIN\BCC\RDDADS.LIB|adsfunc
Error: Unresolved external 'AdsGetEpoch' referenced from S:\SETTOOL32\HARBOUR\LIB\WIN\BCC\RDDADS.LIB|adsfunc
Error: Unresolved external 'AdsSetEpoch' referenced from S:\SETTOOL32\HARBOUR\LIB\WIN\BCC\RDDADS.LIB|adsfunc
...
Error: Unable to perform link
* Linking errors *


20240417-bcc77-32bit-harbour
fwh\samples\testads.prg
Please look it below:
嚙踝蕭嚙踝蕭嚙踝蕭嚙踝蕭嚙踝蕭嚙踝蕭嚙踝蕭嚙踝蕭嚙踝蕭嚙踝蕭嚙踝蕭嚙踝蕭嚙踝蕭嚙踝蕭嚙踝蕭嚙踝蕭嚙踝蕭嚙踝蕭嚙踝蕭嚙踝蕭嚙踝蕭嚙踝蕭嚙踝蕭嚙踝蕭嚙踝蕭嚙踝蕭嚙踝蕭嚙踝蕭嚙踝蕭嚙踝蕭嚙踝蕭嚙踝蕭嚙踝蕭嚙踝蕭嚙踝蕭嚙踝蕭嚙踝蕭嚙踝蕭醴
嚙?FiveWin for Harbour 24.04 - Apr. 2024 Harbour development power 嚙踝蕭
嚙?(c) FiveTech 1993-2024 for Microsoft Windows 9X/NT/200X/ME/XP/Vista/7/8/10 嚙踝蕭
嚙踝蕭嚙踝蕭嚙踝蕭嚙踝蕭嚙踝蕭嚙踝蕭嚙踝蕭嚙踝蕭嚙踝蕭嚙踝蕭嚙踝蕭嚙踝蕭嚙踝蕭嚙踝蕭嚙踝蕭嚙踝蕭嚙踝蕭嚙踝蕭嚙踝蕭嚙踝蕭嚙踝蕭嚙踝蕭嚙踝蕭嚙踝蕭嚙踝蕭嚙踝蕭嚙踝蕭嚙踝蕭嚙踝蕭嚙踝蕭嚙踝蕭嚙踝蕭嚙踝蕭嚙踝蕭嚙踝蕭嚙踝蕭嚙踝蕭嚙踝蕭嚙踝蕭嚙?
'蕭嚙踝蕭嚙踝蕭嚙踝蕭嚙踝蕭嚙踝蕭嚙踝蕭嚙踝蕭嚙踝蕭嚙踝蕭嚙踝蕭嚙踝蕭嚙踝蕭嚙踝蕭嚙踝蕭嚙踝蕭嚙踝蕭嚙踝蕭嚙踝蕭嚙踝蕭嚙 踝蕭' 不是內部或外部命令、可執行的程式或批次檔。
Compiling...
Harbour 3.2.0dev (r2404101339)
Copyright (c) 1999-2021, https://harbour.github.io/
Compiling 'testads.prg' and generating preprocessed output to 'testads.ppo'...
Lines 5358, Functions/Procedures 1
Generating C source output to 'testads.c'... Done.
Embarcadero C++ 7.70 for Win32 Copyright (c) 1993-2023 Embarcadero Technologies, Inc.
testads.c:
Turbo Incremental Link 6.97 Copyright (c) 1997-2022 Embarcadero Technologies, Inc.
* Application successfully built *
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-SOLVED

Postby richard-service » Wed Jun 19, 2024 10:38 am

Enrico Maria Giordano wrote:Please, try this new build and report back:

https://github.com/FiveTechSoft/harbour_and_xharbour_builds/blob/master/harbour_bcc770_32_20240619.zip


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-SOLVED

Postby Enrico Maria Giordano » Wed Jun 19, 2024 10:47 am

Great! Thank you for your valuable feedback!
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-SOLVED

Postby richard-service » Thu Jun 20, 2024 2:14 am

Enrico Maria Giordano wrote:Great! Thank you for your valuable feedback!


Suggestion double checks another compile version.
This ADS link problem happens repeatedly.
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-SOLVED

Postby Enrico Maria Giordano » Thu Jun 20, 2024 7:39 am

Unfortunately, the problem was in the very bugged hbmk2.exe tool, a very bad one. It is automatically used by win-make.exe during the build process and I have no control over it. I keep fixing bugs using my hrbfix.exe utility. I can't do more, sorry.
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-SOLVED

Postby richard-service » Thu Jun 20, 2024 8:36 am

Enrico Maria Giordano wrote:Unfortunately, the problem was in the very bugged hbmk2.exe tool, a very bad one. It is automatically used by win-make.exe during the build process and I have no control over it. I keep fixing bugs using my hrbfix.exe utility. I can't do more, sorry.


Dear Mr.EMG,

I see.
Never mind.
Thank you very much for the [x]Harbour assistance.
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

Previous

Return to FiveWin for Harbour/xHarbour

Who is online

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