Page 1 of 2

RDDADS.lib for Harbour and Borland

Posted: Thu Jan 15, 2015 5:26 pm
by Antonio Linares
Could someone provide the most recent RDDADS.lib for Harbour and Borland ?

thanks! :-)

Re: RDDADS.lib for Harbour and Borland

Posted: Thu Jan 15, 2015 6:41 pm
by reinaldocrespo
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/ ... /adsfunc.c

Hope that helps.


Reinaldo.

Re: RDDADS.lib for Harbour and Borland

Posted: Thu Jan 15, 2015 8:04 pm
by TimStone
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

Re: RDDADS.lib for Harbour and Borland

Posted: Thu Jan 15, 2015 9:07 pm
by reinaldocrespo
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.

Re: RDDADS.lib for Harbour and Borland

Posted: Thu Jan 15, 2015 9:30 pm
by TimStone
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.

Re: RDDADS.lib for Harbour and Borland

Posted: Fri Jan 16, 2015 3:39 pm
by reinaldocrespo
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.

Re: RDDADS.lib for Harbour and Borland

Posted: Fri Jan 16, 2015 3:46 pm
by TimStone
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

Re: RDDADS.lib for Harbour and Borland

Posted: Fri Jan 16, 2015 3:55 pm
by reinaldocrespo
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.

Re: RDDADS.lib for Harbour and Borland

Posted: Fri Jan 16, 2015 4:45 pm
by Carles
Hi,

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

Re: RDDADS.lib for Harbour and Borland

Posted: Fri Jan 16, 2015 4:58 pm
by TimStone
Hi,

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

Thanks.

Tim

Re: RDDADS.lib for Harbour and Borland

Posted: Fri Jan 16, 2015 5:30 pm
by Carles
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 ...

Re: RDDADS.lib for Harbour and Borland

Posted: Fri Jan 16, 2015 5:34 pm
by TimStone
I can certainly take a look.

Thanks.

Tim

Re: RDDADS.lib for Harbour and Borland

Posted: Fri Jan 16, 2015 6:14 pm
by Carles

Re: RDDADS.lib for Harbour and Borland

Posted: Sat Jan 17, 2015 6:33 pm
by Giovany Vecchi
Posted earlier versions in the repository of TADs
DownLoads andress
http://tads-class-for-harbour.googlecod ... rVersions/

Re: RDDADS.lib for Harbour and Borland

Posted: Sun Jan 18, 2015 9:15 pm
by TimStone
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 ?