FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour RDDADS.lib for Harbour and Borland
Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM
RDDADS.lib for Harbour and Borland
Posted: Thu Jan 15, 2015 05:26 PM

Could someone provide the most recent RDDADS.lib for Harbour and Borland ?

thanks! :-)

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 990
Joined: Thu Nov 17, 2005 05:49 PM
Re: RDDADS.lib for Harbour and Borland
Posted: Thu Jan 15, 2015 06:41 PM
rdd_ads directory contains a batch file that will take care of building the lib for the Borland compiler. You only need to declare the environmental variable that points to the correct path where acesdk is installed. As in :HB_DIR_ADS = f:\Ads10\acesdk\

I have been maintaining AdsFunc.c and don't really know if there has been anyone else working on this source. If you like to use my adsfunc.c here is a link to it:
http://ssfl.dynalias.com:/var/www/html/temp_files/adsfunc.c

Hope that helps.


Reinaldo.
Posts: 3022
Joined: Fri Oct 07, 2005 01:45 PM
Re: RDDADS.lib for Harbour and Borland
Posted: Thu Jan 15, 2015 08:04 PM

The one problem I have with my Microsoft / Harbour build is with ADS. We tried for a long time to get assistance, but it never happened.

The problem is simple. I need compatability with ADS from version 7 through the current one. I have an ADS.lib and ACE32.lib that work with xHarbour that was modified to be all inclusive for those versions. However, the Harbour version will only be compatible with ADS 9 through the current.

I went to the Harbour forum to ask about this and was told to build it myself ... and nothing further. Antonio tried but we never got it working. My project is using the current Harbour libs but they do not reach back before ADS 9.

Any help I can receive on this would be greatly appreciated. The person who made the adjustments and built it for xHarbour did not have Harbour / MSVC available to build it.

Tim

Tim Stone
http://www.MasterLinkSoftware.com
http://www.autoshopwriter.com
timstone@masterlinksoftware.com
Using: FWH 23.10 with Harbour 3.2.0 / Microsoft Visual Studio Community 2022-24 32/64 bit
Posts: 990
Joined: Thu Nov 17, 2005 05:49 PM
Re: RDDADS.lib for Harbour and Borland
Posted: Thu Jan 15, 2015 09:07 PM
The problem is simple. I need compatability with ADS from version 7 through the current one. I have an ADS.lib and ACE32.lib that work with xHarbour that was modified to be all inclusive for those versions.


The solution is also simple. Download ADS SDK for version 7. Declare HB_ADS_DIR to point to that directory. Now use the appropriate batch file from harbour\contrib\rdd_ads to create rddads.lib. That's all. Just FYI- any older ADS client is compatible with newer ADS servers. The opposite is ***NOT*** true. Thus, you can create your rddads.lib using version 7 of the sdk link the lib with your .exes and use any ADS server versions 7 to 11 (or newer). Just remember not to try to use or call any stored procedure or function introduced after version 7 and also remember to distribute your .exe with the corresponding ace version (ace32.dll, axcws32.dll, adsloc32.dll).


However, the Harbour version will only be compatible with ADS 9 through the current.


That's because the rddads.lib you have for Harbour was created using ADS SDK version 9. It is only a matter of declaring the environmental variable to point to the right directory before you execute the batch file that builds rddads.lib.

Hope that helps,


Reinaldo.
Posts: 3022
Joined: Fri Oct 07, 2005 01:45 PM
Re: RDDADS.lib for Harbour and Borland
Posted: Thu Jan 15, 2015 09:30 PM

The problem is finding a version 7 SDK ... checking the devzone site, it doesn't list such a file. It is found in the API download, but files are .pas or .bas, no .c files.

Tim Stone
http://www.MasterLinkSoftware.com
http://www.autoshopwriter.com
timstone@masterlinksoftware.com
Using: FWH 23.10 with Harbour 3.2.0 / Microsoft Visual Studio Community 2022-24 32/64 bit
Posts: 990
Joined: Thu Nov 17, 2005 05:49 PM
Re: RDDADS.lib for Harbour and Borland
Posted: Fri Jan 16, 2015 03:39 PM

I don't have an SDK for version 7. Sorry. I do have SDKs for version 8, 9, 10, and 11. However, if you are only using the local server, like most people, then you don't really need version 7. You can move straight to version 11 by distributing the corresponding newer dlls.

You could post your need for version 7 of the SDK on the Advantage forum. I'm sure someone will offer a solution as the SDK is language independent.

Reinaldo.

Posts: 3022
Joined: Fri Oct 07, 2005 01:45 PM
Re: RDDADS.lib for Harbour and Borland
Posted: Fri Jan 16, 2015 03:46 PM

Reinaldo,

The issue is simple. I have customers who are still running ADS 7 servers. I also have many on ADS 8 servers. These are the full server, not local servers.

So far, my app works with ADS 9 and above, yet my app built with xHarbour works with 7 and above. So I need to get this resolved for the Harbour \ MSVC build which is where I want to focus 100% of my time.

Tim

Tim Stone
http://www.MasterLinkSoftware.com
http://www.autoshopwriter.com
timstone@masterlinksoftware.com
Using: FWH 23.10 with Harbour 3.2.0 / Microsoft Visual Studio Community 2022-24 32/64 bit
Posts: 990
Joined: Thu Nov 17, 2005 05:49 PM
Re: RDDADS.lib for Harbour and Borland
Posted: Fri Jan 16, 2015 03:55 PM

Again, all you have to do is build rddads.lib from version 7 of the SDK. Can't find version 7 of the SDK? Ask for it on the Advantage forum.

Reinaldo.

Posts: 1283
Joined: Fri Feb 10, 2006 02:34 PM
Re: RDDADS.lib for Harbour and Borland
Posted: Fri Jan 16, 2015 04:45 PM

Hi,

I've an original ADS 7.1 if you need it ...

Salutacions, saludos, regards

"...programar es fácil, hacer programas es difícil..."

UT Page -> https://carles9000.github.io/
Forum UT -> https://discord.gg/bq8a9yGMWh
HIX -> https://github.com/carles9000/hix
Posts: 3022
Joined: Fri Oct 07, 2005 01:45 PM
Re: RDDADS.lib for Harbour and Borland
Posted: Fri Jan 16, 2015 04:58 PM

Hi,

I have 7.1 server, but not the SDK. Do you have the SDK ?

Thanks.

Tim

Tim Stone
http://www.MasterLinkSoftware.com
http://www.autoshopwriter.com
timstone@masterlinksoftware.com
Using: FWH 23.10 with Harbour 3.2.0 / Microsoft Visual Studio Community 2022-24 32/64 bit
Posts: 1283
Joined: Fri Feb 10, 2006 02:34 PM
Re: RDDADS.lib for Harbour and Borland
Posted: Fri Jan 16, 2015 05:30 PM

Tim,

Yes, I think so, you maybe want to say acesdk, no? . I have the original but, also a folder with tools and interesting information. If you want, I put this folder and yourself download it and delete what you don't like, but I think there is interesting information ...

Salutacions, saludos, regards

"...programar es fácil, hacer programas es difícil..."

UT Page -> https://carles9000.github.io/
Forum UT -> https://discord.gg/bq8a9yGMWh
HIX -> https://github.com/carles9000/hix
Posts: 3022
Joined: Fri Oct 07, 2005 01:45 PM
Re: RDDADS.lib for Harbour and Borland
Posted: Fri Jan 16, 2015 05:34 PM

I can certainly take a look.

Thanks.

Tim

Tim Stone
http://www.MasterLinkSoftware.com
http://www.autoshopwriter.com
timstone@masterlinksoftware.com
Using: FWH 23.10 with Harbour 3.2.0 / Microsoft Visual Studio Community 2022-24 32/64 bit
Posts: 1283
Joined: Fri Feb 10, 2006 02:34 PM
Re: RDDADS.lib for Harbour and Borland
Posted: Fri Jan 16, 2015 06:14 PM
Salutacions, saludos, regards

"...programar es fácil, hacer programas es difícil..."

UT Page -> https://carles9000.github.io/
Forum UT -> https://discord.gg/bq8a9yGMWh
HIX -> https://github.com/carles9000/hix
Posts: 244
Joined: Mon Jun 05, 2006 09:39 PM
Re: RDDADS.lib for Harbour and Borland
Posted: Sat Jan 17, 2015 06:33 PM
Posted earlier versions in the repository of TADs
DownLoads andress
http://tads-class-for-harbour.googlecode.com/svn/trunk/Ads%20Install/OlderVersions/
Posts: 3022
Joined: Fri Oct 07, 2005 01:45 PM
Re: RDDADS.lib for Harbour and Borland
Posted: Sun Jan 18, 2015 09:15 PM

I tried to obtain the 7.1 file but Google is blocking me.

Is this the actual Harbour files or is it the ADS API ?

Tim Stone
http://www.MasterLinkSoftware.com
http://www.autoshopwriter.com
timstone@masterlinksoftware.com
Using: FWH 23.10 with Harbour 3.2.0 / Microsoft Visual Studio Community 2022-24 32/64 bit