Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Advantage CA-Clipper Guide v6.11 - <b>linking the rdd</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
   Linking the RDD
------------------------------------------------------------------------------

   To link an Advantage RDD with other RDDs, first #include one of the
   following header files in your source code if you are using commands:

   The Advantage header files:

      DBFNTXAX.CH
      or
      DBFCDXAX.CH
      or
      AXNTXCDX.CH
      or
      AXCDXCMX.CH   (CA-Clipper 5.2 only)
      or
      AXCDXSIX.CH   (CA-Clipper 5.2 only)

   To select the correct header file, see the section "Advantage Header
   Files".

   Next, include in your link command or link script these files:

   One of the Advantage Communication libraries:

      AXSCOMM.LIB   (Real mode IPX communication library)
      or
      AXSXCOMM.LIB  (Protected mode IPX communication library for ExoSpace
                     and CauseWay linkers)
      or
      AXSBCOMM.LIB  (Protected mode or dual mode IPX communication library
                     for Blinker 3.0 and newer linkers)
      or
      AXIPCOMM.LIB  (Real mode IP communication library)

      or
      AXIPXCOM.LIB (Protected mode IP communication library for ExoSpace
                    linker)
      or
      AXIPBCOM.LIB (Protected mode or dual mode IP communication library
                    for Blinker 3.0 and newer linkers)

      AND

   The Advantage RDD library:

      DBFAXS.LIB

   For example, if you want to use the Advantage NTX RDD (DBFNTXAX) and the
   CA-Clipper NTX RDD (DBFNTX) in the same application, see the steps below:

   1.   Include DBFNTXAX.CH as a header in your source file(s) using the
        #include directive if you are using commands:

             #include "DBFNTXAX.CH"

   2.   Compile your application.

   3.   Add the selected COMM library and DBFAXS.LIB as libraries to your
        link command or link script before the CLIPPER.LIB file.

   4.   Relink your application.

   Examples Using IPX for Communication

      BLINKER FI MYAPP SEARCH BLXCLP52 LIB AXSBCOMM, DBFAXS, CLIPPER,
         TERMINAL, EXTEND, DBFNTX BLINKER EXE DUAL

      EXOSPACE FI MYAPP LIB AXSXCOMM, DBFAXS, EXOSPACE, CLIPPER, TERMINAL,
         EXTEND, DBFNTX

      WL32 MYAPP.OBJ+DBFNTXAX.OBJ,,,CWCLP52+AXSXCOMM+DBFAXS+CLIPPER+
         TERMINAL+EXTEND+DBFNTX+DBFNTX

      RTLINK FI MYAPP LIB AXSCOMM, DBFAXS, CLIPPER, TERMINAL, EXTEND,
         DBFNTX

      WARPLINK /r /clp5 /op:m MYAPP,,,AXSCOMM+DBFAXS+CLIPPER+TERMINAL+
         EXTEND+DBFNTX

    Examples Using IP for Communication
    (also see the sample link scripts installed with the Advantage RDDs)

      BLINKER FI MYAPP.OBJ, SEARCH BLXCLP52, AXIPBCOM LIB
         DBFAXS, CLIPPER, TERMINAL, EXTEND DBFNTX BLINKER EXE DUAL

      EXOSPACE FI MYAPP.OBJ, MODULE AXIPXCOM FROM AXIPXCOM.LIB
         LIB AXIPXCOM, DBFAXS, EXOSPACE, CLIPPER, TERMINAL, EXTEND DBFNTX

      RTLINK FI MYAPP.OBJ, SEARCH AXIPCOMM LIB DBFAXS, CLIPPER,
         TERMINAL, EXTEND DBFNTX



Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson