harbour/xharbour appear ADS functions error-SOLVED
- Enrico Maria Giordano
- Posts: 8728
- Joined: Thu Oct 06, 2005 8:17 pm
- Location: Roma - Italia
- Contact:
- 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
Dear EMG,Enrico Maria Giordano wrote:Done, please check:
http://xharbour.org/index.asp?page=down ... naries_win
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
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
- Enrico Maria Giordano
- Posts: 8728
- Joined: Thu Oct 06, 2005 8:17 pm
- Location: Roma - Italia
- Contact:
- 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-SOLVED
Dear Mr.EMGEnrico Maria Giordano wrote:Great!
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
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
- Enrico Maria Giordano
- Posts: 8728
- Joined: Thu Oct 06, 2005 8:17 pm
- Location: Roma - Italia
- Contact:
Re: harbour/xharbour appear ADS functions error-SOLVED
You have to link ace32.lib and rddads.lib.
- 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-SOLVED
Dear Mr.EMGEnrico Maria Giordano wrote:You have to link ace32.lib and rddads.lib.
I'm a Po title question. I always link ace32.lib and rddads.ib.
You fixed this problem more times and the final 20240417 version is working fine.RDDADS_LIB = $(HARBOUR_DIR)\Lib\rddads.lib
ACE32_LIB = $(HARBOUR_DIR)\Lib\ace32.lib
$(ECHO) $(RDDADS_LIB) >> make.tmp
$(ECHO) $(ACE32_LIB) >> make.tmp
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
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
- Enrico Maria Giordano
- Posts: 8728
- Joined: Thu Oct 06, 2005 8:17 pm
- Location: Roma - Italia
- Contact:
Re: harbour/xharbour appear ADS functions error-SOLVED
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.
- 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-SOLVED
20240616-bcc77-32bit-harbourEnrico 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.
I use fwh\samples\testads.prg
Please look it below:
20240417-bcc77-32bit-harbour嚙踝蕭嚙踝蕭嚙踝蕭嚙踝蕭嚙踝蕭嚙踝蕭嚙踝蕭嚙踝蕭嚙踝蕭嚙踝蕭嚙踝蕭嚙踝蕭嚙踝蕭嚙踝蕭嚙踝蕭嚙踝蕭嚙踝蕭嚙踝蕭嚙踝蕭嚙踝蕭嚙踝蕭嚙踝蕭嚙踝蕭嚙踝蕭嚙踝蕭嚙踝蕭嚙踝蕭嚙踝蕭嚙踝蕭嚙踝蕭嚙踝蕭嚙踝蕭嚙踝蕭嚙踝蕭嚙踝蕭嚙踝蕭嚙踝蕭嚙踝蕭醴
嚙?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 *
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
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
- Enrico Maria Giordano
- Posts: 8728
- Joined: Thu Oct 06, 2005 8:17 pm
- Location: Roma - Italia
- Contact:
Re: harbour/xharbour appear ADS functions error-SOLVED
Ok, I'm investigating, thank you...
- Enrico Maria Giordano
- Posts: 8728
- Joined: Thu Oct 06, 2005 8:17 pm
- Location: Roma - Italia
- Contact:
- 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-SOLVED
It's working now. Thank you.Enrico Maria Giordano wrote:Please, try this new build and report back:
https://github.com/FiveTechSoft/harbour ... 240619.zip
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
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
- Enrico Maria Giordano
- Posts: 8728
- Joined: Thu Oct 06, 2005 8:17 pm
- Location: Roma - Italia
- Contact:
Re: harbour/xharbour appear ADS functions error-SOLVED
Great! Thank you for your valuable feedback!
- 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-SOLVED
Suggestion double checks another compile version.Enrico Maria Giordano wrote:Great! Thank you for your valuable feedback!
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
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
- Enrico Maria Giordano
- Posts: 8728
- Joined: Thu Oct 06, 2005 8:17 pm
- Location: Roma - Italia
- Contact:
Re: harbour/xharbour appear ADS functions error-SOLVED
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.
- 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-SOLVED
Dear Mr.EMG,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.
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
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