Building the TPs

All the sample TPs are built in a similar way, as described in this topic. First, set the following environment variables:

Variable Specifies
ISVLIBS Directory containing the Microsoft® SNA Server Windows NT® and Windows® 95 .LIB files
ISVINCS Directory containing the WINSNA header files
SAMPLEROOT Root directory of the sample code

For example, if you copy the contents of the \SDK directory of the SNA Server CD-ROM to C:\SNASDK, use the following lines to set the variables:

ISVLIBS=C:\SNASDK\LIB\WINNT
ISVINCS=C:\SNASDK\INC
SAMPLEROOT=C:\SNASDK\SAMPLES
 

Change to each subdirectory and run NMAKE on the .MAK file in each directory. For example, for APING and APINGD, change the APING subdirectory and type the following:

nmake -f makeping.mak