Files
harbour-core/harbour/contrib/rddads
Viktor Szakats 764d241a1c 2011-02-18 22:20 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/rddads/rddads.h
  * contrib/rddads/ads1.c
    ! Fixed to check ADS_LIB_VERSION instead of ADS_LONGLONG to
      enable longlong related features.
    * Changed to use ADS_LIB_VERSION to detect availability of
      ADS_MONEY.
    * Deleted hack (which was a pending QUESTION for at least 4 years
      now) which redefined ADS_MAX_KEY_LENGTH for ADS 7.10 to 256,
      while the official value is 4082 there. Now rddads uses whatever
      value is defined by ADS header.
    ! Deleted hack to force usage of ADS_CISTRING, ADS_ROWVERSION,
      ADS_MODTIME. Now these features will be enabled based on
      ADS_LIB_VERSION. This was old pending TOFIX. It may
      theoretically change behavior for these field types in certain
      client/server version combinations, ..or not. Pls comment,
      I'm not ADS user.
    ! Added missing cast/warning when built against ADS 5.00.
2011-02-18 21:20:38 +00:00
..

/*
 * $Id$
 */

 RDD for Advantage Database Server
 Alexander Kresin <alex@belacy.belgorod.su>


 For using this RDD you need to have:
   ace32.dll  ( Advantage Client Engine ),
   axcws32.dll ( communication layer for remote server ) or
   adsloc32.dll ( local server )

   You need also to create ace32.lib with the help of implib.exe:
     implib ace32.lib ace32.dll

   For building executables don't forget to include the ace32.lib and
   rddads.lib to the make file or link script.

   You need also to include to your prg file following lines:

      REQUEST ADS

   and then you can set default RDD using one of the following functions:

      rddsetdefault( "ADT" )
      rddsetdefault( "ADSNTX" )
      rddsetdefault( "ADSCDX" )
      rddsetdefault( "ADSVFP" )

   You can also use:

      REQUEST ADT | ADSNTX | ADSCDX | ADSVFP

   instead of REQUEST ADS.

   for backward compatibility with old code it's possible to use also:
      rddsetdefault( "ADS" )
   and then
     SET FILETYPE TO NTX | CDX | ADT | VFP
   command or AdsSetFileType() function to set table type (default is CDX)

   By default RDD is tuned for remote server. To change this you may
   use commands, defined in ads.ch:

     SET SERVER LOCAL

   or function AdsSetServerType().