EXAMPLES.DOC FILE
NETWARE SYSTEM INTERFACE TECHNICAL OVERVIEW
EXAMPLES
September 25,1990
To compile the programs on this diskette you will need to have installed
the
NetWare C Interface - DOS version 1.2 libraries. Please refer to the
README.DOC file on Diskette 1 of 9 for information on installing the
NetWare C Interface - DOS libraries. Before you start the installation
program make a backup of each diskette provided in the NetWare C
Interface -DOS package and the NetWare System Interface Technical
Overview examples diskette. The DOS DISKCOPY program can be used to
make an exact duplicate on another diskette.
Install the libraries for the compiler you will be using. You may then
copy
these example programs from this diskette to the working directory in
which
you keep your source files. Note: if you are using the Turbo C++ v1.0
compiler you should copy the JOBSTAT.TC source file to JOBSTAT.C in your
working directory. This file contains a version of the example program
which will work with the Turbo C++ compiler. If you are using the Lattice
C compiler, you need to copy the JOBSTAT.LC file to your working directory
as JOBSTAT.C. This file has been modified to use the Lattice CURSES
library for screen management.
In order to build the SPXCHAT.C program you will need to assemble the
SPXESR.ASM file. You may do this using either the Microsoft MASM
assembler, or the Turbo Assembler. You will need to link the resulting
object file with your application. You must have in the directory you
are working in the MACROS.ASM macro file which you will find on the
example diskette.
The examples have been tested for the Intel Small Data Model.
You should first compile the example source code for the SMALL memory
model. Then link the program with the NetWare C Interface library
[SNIT.LIB] and the runtime libraries required by your compiler.
The NetWare System Interface Technical Overview has explanations of the
example programs. You are encouraged to read through these explanations
before building and running the programs.
We have also included make files which will automate the process of
building
the example applications. You must set the appropriate environment
variables
to have the search paths for the libraries and includes. Note that the
Turbo
评论0