Building the TPs

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

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

For example, to 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

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

nmake -f makeping.mak