Dutch:
As Explained, you don't need to download the remote server yet to try in your notebook:
Download the Advantage Data Architech (ARC) from here:
http://www.google.d2g.com/ads/ver8/arc32.exe
You can use the ARC later as you DBU utility.
Install it in your computer, then go to the folder where you installed the ARC and you will find there 3 DLLs:
ACE32.DLL
Contains all the functions of the RDDADS.LIB to be called from your prgram
AXWCS32.DLL
This is the ADS client itself, it handles all the protocols and comunication stuff.
ADSLOC32.DLL
This is the ADS "local" server.
Copy those 3 DLLs to the folder where your application is.
Changes to be done in your code:
REQUEST ADS // instead or DBFCDX
RDDSETDEFAULT("ADS") // instead of "DBFCDX"
AdsSetFileType(2) // 1 - DBFNTX, 2 - DBFCDX , 3 - ADTADI
AdsSetServerType(7)
/*
this leaves your program ready to run with all the servers
local, remote and internet the values are:
1 - Local Server only (no remote or internet server)
2 - Remote Server only (no local or internet server)
3 - 1 + 2 = Local OR Remote server, leaves ads to choose the best
4 - Internet server only (no local or remote server)
5 - 4 + 1 Local or Internet
6 - 4 + 2 Remote or Internet
7 - 4+2+1 Any server
*/
And basically that's all because all the data access remains the same in the rest of your source code.
Compiling and linking:
You will need to add 2 LIBs files to your link script:
ACE32.LIB and RDDADS.LIB
Where to get them:
ACE32.LIB comes from the ACE32.DLL, you will need to "convert" the ACE32.DLL into ACE32.LIB using a Borland C++ tool called IMPLIB.EXE (comes in the bin directory of your C++ installation), Syntax:
IMPLIB ACE32.LIB ACE32.DLL
After that you will have a new file called ACE32.LIB ready to link to your script file.
RDDADS.LIB could be a little complicate to get, if it doesn't come with your (x)Harbour distribution (go to the LIB folder, and look there for RDDADS.LIB) then you will need to rebuild it from source code.
The source code is a (x)Harbour contribution, so you will need go where you got your (x)Harbour, look into CONTRIB folder, and there you will find another folder called "RDDADS" the source code is there, all the source is "C" code you will need to recompile it, (it's very easy, it comes with make files).
Once you have your libs built, just add them to your link script, and that's all you are ready to ADS.