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.