alogin.exe: 63104 bytes OBJs for System Call Encrypted Logins -- 6-15-97/21:45p This file includes functions that allow you to perform a keyed login to a NetWare 386 file server, as well as change or verify a bindery object's password. dscap.exe: 22577 bytes Example Client SDK Capture Program From 5/93 -- 6-15-97/21:45p This file contains the example program referred to in the May 1993 Bullets article "Capturing with NetWare 4.0 Directory Services". os2hdr.exe: 160935 bytes OS/2 Header Files for 32 Bit Compilers -- 6-15-97/21:45p The attached files are header files for the NetWare Client SDK 1.0e. They are intended for use with OS/2 2.x 32 bit compilers (specifically CSET/2, Borland C++ 1.5, and Watcom C). While Novell does not officially support 32 bit compilers under OS/2 at this time, these files are provided to help developers who need that functionality. mapdr.exe: 39633 bytes Sample Code on Mapping Network Drives -- 6-15-97/21:45p This is sample code showing how to Map Drives using the NetWare Client SDK 1.0e chatwn.exe: 45500 bytes Windows Chat program -- 6-15-97/21:45p Chat is a windows based program demonstrating IPX,SPX & TLI. It is intended for example only, and includes source code. attprn.exe: 21109 bytes NWPSCfgGetFirstPrintServerAttr() Sample Code -- 6-15-97/21:45p This sample code will retrieve the first print server attribute value for the indicated print server. The code is written to test what the user needs to be logged in as to use these functions. NOTE: This call can only be made by a supervisor or equivalent. mycap.exe: 22197 bytes Capture.exe Sample Code -- 6-15-97/21:45p Several Developers have requested sample code concerning printing and capture. sapgen.exe: 21815 bytes SAP generating Sample Code -- 6-15-97/21:45p Several Developers have requested sample code concerning SAP. dynobj.exe: 20724 bytes Reading Dynamic Objects Sample Code -- 6-15-97/21:45p Several Developers have requested sample code concerning reading Dynamic Bindery Objects in the 4.X environment. nwgetp.exe: 22102 bytes Directory Path/Directory Entry Sample Code -- 6-15-97/21:45p Example of how to get a directory path from a directory entry. sapit.exe: 22613 bytes SAP Sample Code -- 6-15-97/21:45p Several Developers have requested sample code for using SAP. myshel.exe: 39069 bytes Alternative PROGMAN.EXE Shell -- 6-15-97/21:45p This sample code shows how to perform the LoadLibrary() and GetProcAddress() calls when using the Client SDK. This is necessary when creating a shell other than progman.exe. whosdk.exe: 30486 bytes Sample code demonstrating Scan API's -- 6-15-97/21:45p This program uses functions NWScanConnectionsUsingFile and NWGetConnectionInformation capflg.exe: 32551 bytes Sample code for setting capture flags -- 6-15-97/21:45p This sample code sets, clears, or toggles capture flags on LPT1 conlst.exe: 27445 bytes Sample code to Display server connections -- 6-15-97/21:45p This sample code displays the number of server connections and the names of those servers dirnfo.exe: 29014 bytes Sample code to display volume information -- 6-15-97/21:45p This sample code will display volume information returned by NWGetDirSpaceInfo and NWGetVolumeInfoWithNumber. efrght.exe: 33175 bytes Sample code to display effective rights -- 6-15-97/21:45p Displays effective rights for a specified file. uses API's NWParseNetWarePath, NWGetEffectiveRights inetad.exe: 29803 bytes Sample code to show information about server -- 6-15-97/21:45p Sample code to show information about the specified server. Information includes: Company Name,revision, revision date copyright information, number of connections, and address of each connection. key Functions:NWGetConnectionIDFromName, NWGetFileServerDescription, NWGetFileServerInformation, NWGetConnectionInformation nwatt.exe: 31380 bytes Sample code for attaching to server -- 6-15-97/21:45p Sample code to attach to a specific server. Uses API's call: NWAttachToFileServer scnfrm.exe: 95832 bytes Sample code to scan forms -- 6-15-97/21:45p This sample code lists all forms on a specified server. Calls:NWGetConnectionIDFromName and NWPSPdfScanForm. No executable included. setdrv.exe: 37459 bytes Sample code on mapping a network drive -- 6-15-97/21:45p Maps a drive to a specified server and path. uses: NWLoginToFileServer, NWAttachToFileServer, and NWSetDriveBase progrm.exe: 21043 bytes Text file to give input on Novell Education -- 6-15-97/21:45p This is a text file form for Developers to file out. This is to be given to Novell Education so that they can provide the types of training and resources that our Developers need. partvw.exe: 25403 bytes Sample code for directory services partitions -- 6-15-97/21:45p This sample code demonstrates how to list the partitions on each NetWare Directory Services server, attach to each server containing a partition and then read the "Synchronized Up To" value for each partition. This can be a useful tool for discovering potential problems with synchronization. dsque.exe: 23443 bytes Directory services sample code -- 6-15-97/21:45p The following sample code provides all the necessary pieces to create a NetWare Directory Services QServer object, login as the NDS QServer to service queues, submit jobs to the queue and extend the NDS schema so that a QServer object may be created. DSSUBJOB allows a user to submit 3 letter DOS commands to an NDS queue. The JSERVER program reads the jobs from the Queue and executes the commands. dslist.exe: 21852 bytes Sample code to list objects in current tree -- 6-15-97/21:45p This sample code demonstrates how to list the objects at the current context in the tree and how to read specific attributes of each object encountered. snoop.exe: 102625 bytes Program to display everything the shell knows -- 6-15-97/21:45p This is a complex program that queries any workstation on the LAN and reveals all the available information about the shell at that workstation. Extremely useful for getting information about various workstations. Include full source code and is not for the faint at heart. broad.exe: 20449 bytes Sample code that does network broadcasts -- 6-15-97/21:45p This is DOS based sample code of how to do broadcasts out on the network ipxpng.exe: 32986 bytes Sample code on IPX diagnostics -- 6-15-97/21:45p This sample code demonstrates how to send a diagnostic configuration packet to a node and process the response that comes back. Since any node that has IPXODI loaded by default has the Diagnostic responder loaded, this code can be used to determine if a node is active. This will also work with Servers (they also have a diagnostic responder). ipxex3.exe: 24157 bytes IPX Sample Code for OS/2 -- 6-15-97/21:45p IPXEX3.EXE contains IPXRECV.CPP and IPXSEND.CPP, which are simple IPX send and receive programs for OS/2 32 bit compilers. These programs are compatible with Borland C++ for OS/2 2.0 and IBM CSET/++. spxdos.exe: 81648 bytes Demonstrates a DOS SPX CHAT program -- 6-15-97/21:45p This Sample code demonstrates how to set up and use SPX communications to communicate between 2 nodes. Lots of files and tons of sample code. Recently updating to use all the NetWare Client SDK calls. dpmsup.exe: 45296 bytes Latest DPMS.EXE plus list of fixes -- 6-15-97/21:45p This file contain the latest DPMS.EXE (version 1.3) and a history.txt, detailing the hostory of fixes to DPMS. dschgp.exe: 97255 bytes Sample code allowing change of DS password. -- 6-15-97/21:45p Allows the user to change the password on a user in the DS tree. printj.exe: 105337 bytes Sample code to search for a print job record -- 6-15-97/21:45p This program will search for a print job record in the PRINTCON database. It will print out information then modify the job and save it to the same job name. NOTE: The dbOwner must be found for each call to find the printcon information so a loop will be needed to access the bindery and find each user. printq.exe: 35215 bytes Sample code to read files from a print queue -- 6-15-97/21:45p This program will read a file from a print queue and write it out to a file called printq.out. Note: The USER logged in must be in the QUEUE SERVER list in the bindry to attach to the queue. Since PCONSOLE does not have this functionality, the ADDPSERV.C utility has been provided. This program will take the first 'READY' job from the queue and write it to file (printq.OUT). time.exe: 27906 bytes Sample of NWUnpackDateTime & NWPackDateT -- 6-15-97/21:45p Example program of how to use NWUnpackDateTime() and NWPackDateTime() prtown.exe: 97732 bytes Sample code to see who owns print job. -- 6-15-97/21:45p Allows the user to find out who owns printjobs in the 4.X print queue and what the printjob number is (same number that shows up in pconsole). chgpss.exe: 33933 bytes Sample program to change Bindery password. -- 6-15-97/21:45p Program allows the user (supervisor) to change a BINDERY password. qinfo.exe: 39799 bytes Sample program to find print servers. -- 6-15-97/21:45p This program will read the bindery of the default server into a linked list. It will then (using the linked list) read the servers one at a time and attach to each server in the list and find the print servers on that server. It will write the server names to a file call SERVERS.TXT and the print servers to QUEINFO.TXT along with the print servers object ID. lockr.exe: 34138 bytes sample program that tests logical record lock -- 6-15-97/21:45p Program that tests the logical record locks. prtatt.exe: 96824 bytes Sample code to get print server attributes -- 6-15-97/21:45p This program will retrieve the first print server attribute value for the indicated print server. The code is written to test what the user needs to be logged in as to use these functions. NOTE: This call can only be made by a supervisor or equivalent. servad.exe: 30648 bytes Sample code to get internal address -- 6-15-97/21:45p This program demostrates how to get the internal network address from a specified server by reading that servers property from the bindery of the server the connection handle is gotten from. NOTE: NWGetDefaultConnetionID() could be used to get the default connHandle thus reading the default bindery. netadd.exe: 32876 bytes Sample code to get internet address. -- 6-15-97/21:45p Program that allows a user to get the internet address i.e. network and node address of the workstation the program is run on. rvolum.exe: 35439 bytes Sample code to get Volume or Directory info -- 6-15-97/21:45p This program will find the volume information that is usually reported in chkvol. Or if the path to a directory is added on the command line you can get back that directories information instead. You need to pass in the server name volume name and/or the name of a directory in the volume. NOTE: The directory information portion of this program works fine under 3.x netware but returns a 0 for the total block size under 4.x. isojb.exe: 33822 bytes Sample program for seeing if object is in set -- 6-15-97/21:45p Allows the user to scan the bindery to see if a specified object is in a set. binscn.exe: 36633 bytes Sample Bindery scanning program -- 6-15-97/21:45p Allows the user to scan the bindery for Objects Properties and values. These are then written to a file called Bindery.txt. scntst.exe: 34710 bytes Sample program to scan trustee rights for dir -- 6-15-97/21:45p Scans a specified directory and shows the trustee assignments for that directory. clrcnn.exe: 33187 bytes Sample program to clear bindery connection -- 6-15-97/21:45p This program will clear a specified connection number from the server specified. sparmp.exe: 32383 bytes Sample code showing sparse file bit map. -- 6-15-97/21:45p This program will allow you to input the file server name and the full path to the sparse file you wish to have the bit map done of. It will then print out the bit map. cpfile.exe: 35630 bytes Sample code for NWSartFileCapture(). -- 6-15-97/21:45p This program demonstrates how to do a file capture with the client API's. rcap.exe: 104072 bytes Sample DS and Bindery Capture program. -- 6-15-97/21:45p The program will capture to the specified queue. Print the data input to the queue (the data is:this is a test) and flush the queue. Reset the queue to it's original queue upon exiting the program. NOTE: This capture code works for both Bindery and DS. prnflg.exe: 33028 bytes Sample program to print all print flags. -- 6-15-97/21:45p The program will print out the capture flags from the flags1 and flags2 structures. The user must specify the lpt port. rlogin.exe: 39978 bytes Sample Bindery login program. -- 6-15-97/21:45p Program that allows a user to login to a specified file server. This code comes from the v1.0e manuals and has corrections that allow the code to actually work! It should be noted that you login and are automatically map rooted to the login subdirectory. Code would have to be written to map you to other directories or for testing copy the map.exe file to the login subdirectory so you can map elswhere. rndcap.exe: 30156 bytes Sample end capture program for file and queue -- 6-15-97/21:45p The program will do an end capture on a print job by checking the capture flags2 fileCaptureFlag and seeing if it is set or not. 0xFF means that it is a file capture so a Cancel capture is done. If it is not set then it us a regular capture to a queue and an End Capture is done. ndsfnd.exe: 115486 bytes Sample code to Search for Objects in a Tree -- 6-15-97/21:45p This code will take an object class from the command line and find all objects in the tree (from Root) that are of that type. getcon.exe: 20428 bytes NWGetConnectionStatus() Sample Code -- 6-15-97/21:45p This program demonstrates the NWGetConnectionStatus() function. wndsvw.exe: 79343 bytes NDS Windows viewer / browser -- 6-15-97/21:45p Allows users to browse the NDS Tree and view objects, object's attributes, and the attribute values. ndsvw.exe: 63108 bytes NWAdmin Snapin example - view NDS attributes -- 6-15-97/21:45p This is a windows .dll written as a snapin module for NWAdmin. This snapin will, upon loading NWAdmin, load itself into the tools menu. When selected, this module will display the attributes for the currently selected object in NWAdmin and allow you to view the values for each attribute. Only attributes with values are displayed. Snapin modules are only supported with the version of NWAdmin that shipped with NetWare 4.1 or later. pingdg.exe: 32595 bytes PING Diagnostic Services Sample Code (DOS) -- 6-15-97/21:45p This sample code demonstrates the use of NetWare Diagnostic Services to query a particular network node for the IPX, SPX, and NETX versions. This code was written using the Borland C++ v3.1 compiler and the NetWare Client SDK v1.0e. dbsamp.exe: 326761 bytes NWAdmin Snapin sample for a Database -- 6-15-97/21:45p This code has two snapin modules for manipulating Datbase Objects and Database User Objects. NDS is extended to handle these objects by the app install. Likewise, uninstall will remove these objects out of the tree. There is also a client windows app and an NLM that demonstrate how to locate services without using SAP. NDS is leveraged to store network addresses and both the NLM and the client piece use NDS to connect. More information is provided in the REAME.1ST document sent with this archive. volnum.exe: 34564 bytes Volume and Directory space info sample code. -- 6-15-97/21:45p This sample code resolves a problem with using old api calls to get Volume information on Volumes greater than 256 megabytes. ndshel.exe: 109174 bytes "DOS Like" shell for Directory Servicess -- 6-15-97/21:45p This is a Shell that has the look and feel of DOS. It takes commands to list objects, change contexts, build a tree view from the current context and several other shell commands. sernum.exe: 29875 bytes Sample code using NWGetSerialNumber() -- 6-15-97/21:45p This program will get the serial number of a specified server. cnnlst.exe: 34210 bytes This code uses NWGetConnectionList() -- 6-15-97/21:45p This code uses NWGetConnectionList() to get the server Names and information for all servers the user is logged into. servdt.exe: 29641 bytes Uses NWGetFileServerDateAndTime() -- 6-15-97/21:45p This sample code will get the date and time from the specified server. cnninf.exe: 30964 bytes Uses NWGetConnectionInformation() -- 6-15-97/21:45p This program will allow the user to get connection information about the file server specified i.e. User Name Object Type Object ID Login date and time. effrht.exe: 32604 bytes Used NWGetObjectEffectiveRights() -- 6-15-97/21:45p Finds a users effective rights for a directory or a file. NOTE: This code works with a 4.X server but fails with a 3.x server this is being fixed and once fixed will allow this call to work in the 3.x environment also. afpmdr.exe: 36091 bytes Uses NWAFPCreateDirectory() -- 6-15-97/21:45p This code will create a MAC directory on the server specified in the path specified. The directory can be checked by using the NDIR utility i.e. NDIR /MAC. renfil.exe: 36231 bytes Uses NWRenameFile() to rename dos files. -- 6-15-97/21:45p This program will rename a DOS file. The file can be renamed in the same path it was originally in or it can be renamed and moved to a new path on the server. dosmd.exe: 36439 bytes Uses NWCreateDirectory() to create a dos dir. -- 6-15-97/21:45p This program creates a dos directory on a server volume. phylck.exe: 47960 bytes Lock and Scan Physical Record Locks 2 sample -- 6-15-97/21:45p Two samples. Lock.c will take a filename and a number and create the number of physical record locks specified on the file. File in the form VOLUME:PATH. Scanlock.c will take a filename and scan the file for physical record locks and display them in the same way the monitor nlm does. chgrht.exe: 38099 bytes NWSetDirectoryInformation to set IRM. -- 6-15-97/21:45p This code will allow the user to change the Inherited Rights Mask for a Directory. It will also allow the user to just see what the IRM is set at without modifying it. recovr.exe: 34260 bytes Sample Code For Recovering Files -- 6-15-97/21:45p This is sample code demonstrating how to scan for and recover files. It utilizes the NWScanForDeletedFiles() and NWRecoverDeletedFile() API calls. setrgt.exe: 36833 bytes Using NWSetDirEntryInfo to set IRM's -- 6-15-97/21:45p This sample code shows how to change the Inherited Rights Mask (IRM) on a File, Directory, or a Volume using NWScanDirEntryInfo() and NWSetDirEntryInfo() API calls. sinfo.exe: 34801 bytes NWGetFileServerInformation() sample code -- 6-15-97/21:45p This program uses NWGetFileServerInformation() to return the following information to the screen:
Netware Version :4.10 (rev 0) Connection Handle ,Max Connections, Maximum Connections Used Connections in Use, Volumes, SFT level, TTS level : rndos.exe: 36217 bytes NWRenameFile() sample. -- 6-15-97/21:45p This program will rename a DOS file. You can rename the filein the same directory or give a path to another directory and file name as long as the directory is on the same server and same volume. dscrea.exe: 91248 bytes Sample Code Creates DS User -- 6-15-97/21:45p Description:
          The file DSCREATE.C sets up a buffer and creates a DS user
          named Joe Smith in the default context then logs the user
          Joe Smith into the tree. nwpssm.exe: 132486 bytes Sample Code Uses NWPS Calls -- 6-15-97/21:45p NWPSSAMP.C uses many of the NWPSCfg calls to create a printserver,
queue, and printer in the current context. An operator is added to the
queue and a person to be notified is added to the printer. A printer configuration
is added to the printer. sndmes.exe: 31280 bytes NWSendBroadcastMessage -- 6-15-97/21:45p Code to send a broadcast message. nwlog.exe: 35731 bytes NWAttachToFileServer -- 6-15-97/21:45p C code that calls NWLoginToFileServer. lcud.exe: 38533 bytes LOGIN_CONTROL USER_DEFAULTS -- 6-15-97/21:45p This program will allow the user to look at the LOGIN_CONTROL property in the Bindery or the USER_DEFAULT. Note only Supervisor or equivalent can look at the USER_DEFAULT. dsrght.exe: 89658 bytes Sampe NWDSGetEffectiveRights() -- 6-15-97/21:45p This programs prompts for a user name and a server name then
             a call is made to NWDSGetEffectiveRights with these as parameters
             and the returned privileges are printed out. cinfo.exe: 24469 bytes VLM and DOS System Call ASM Samples -- 6-15-97/21:45p Sample code that demonstates the 3 Assembly Language interfaces.
The same function -- Get Connection Information -- is implemented
using each interface. submit.exe: 36598 bytes Sample Code for NWCloseFileAndStartQueueJob2 -- 6-15-97/21:45p This code will open a filehandle for a print job on the server and queue specified on the command line. It will then write a line of data "this is a test" to the file and close it so it will then be printed out to the printer serviced by that queue.
NOTE: This code also shows how to set the form number for a job. modsma.exe: 52761 bytes Sample code - NWSnapin SDK & NWDS schema -- 6-15-97/21:45p Sample code of a Modify Scema utility that can run from the "Tools" menu of NWAdmin. Demonstrates NWSnapin API's and NWDS API's. vwscma.exe: 40836 bytes Sample code - Snapin SDK and NWDS Scma API -- 6-15-97/21:45p Sample code that demonstates how to use the NWDS API's to read the NDS schema and how to use the Snapin SDK to create an application that can be launched from the "Tools" menu of NWAdmin.exe spmenu.exe: 29337 bytes Sample Code - Snapin SDK Tools Menu -- 6-15-97/21:45p Sample code that demonstrates how to use the SNAPIN SDK to add items to the tools menu of NWAdmin. schcls.exe: 104763 bytes Sample Code - NWDSSearch Base Class -- 6-15-97/21:45p Sample code that demonstates how to use NWDSSearch() to return objects of a specified base class without requiring an authenticated NDS Connection. schrdn.exe: 104663 bytes Sample Code - NWDSearch() Common Name -- 6-15-97/21:45p Sample code that demonstates how to use NWDSSearch() to return objects with a specified "common name" or "rdn" (relative distinquished name) without requiring an authenticated NDS connection to the NetWare 4.x server. spattr.exe: 40435 bytes Sample Code - NWSnapin SDK - Attributes -- 6-15-97/21:45p Sample code that demonstrates how to use the NWSnapin SDK to add an attribute page to an existing user object in NWAdmin. spclas.exe: 49940 bytes Sample Code - Snapin - Class Objects -- 6-15-97/21:45p Sample code that demonstates how to use the Snapin SDK to allow NDS - schema extended objects to be represented and administered in the NWAdmin.exe utility. snapx1.exe: 112438 bytes Sample Code - Snapin page to NWAdmin -- 6-15-97/21:45p Sample code that demonstates how to add a page to a user object in NWAdmin using the NWSnapin SDK. snapx2.exe: 547116 bytes Sample Code - Snapin Adding Attr. and Class -- 6-15-97/21:45p Sample code that demonstrates how to use the Snapin SDK to support NDS Schema extentions in NWAdmin. Demonstates how to add items to the "Tools" menu in NWAdmin, support new object classes and attributes. consum.exe: 22619 bytes Connection Eater NLM for Developer's -- 6-15-97/21:45p This file contains a connection eater NLM called CONNSUME.NLM. It is useful to 'eat' connections up on the larger user configuration versions of NetWare, to test your code with connection numbers > 250. This is a newer version of LOGINHOG.NLM, which supports 3.x and 4.0 NetWare. prtinf.exe: 33978 bytes Find print job status and job number -- 6-15-97/21:45p This sample code will find the job status and print job number for all jobs in a specified queue and display them as seen in pconsole. addobj.exe: 33291 bytes Uses NWAddObjectToSet -- 6-15-97/21:45p This sample code will allow a Supervisor to add or delete security equivalences of a user.
If for example the supervisor wants to add Supervisor equivalence to a user, he can use the addtoset.exe to do this. dslog.exe: 93571 bytes Log into DS tree with NWDSLogin -- 6-15-97/21:45p This sample code will log a user into the network using Directory services calls. bindsr.exe: 36703 bytes DOS Sample Code For Bindery Services -- 6-15-97/21:45p This code demonstrates several of the Bindery Services API calls in the Client SDK. getid.exe: 31352 bytes Get objectID and print in ascii or integer. -- 6-15-97/21:45p Gets a users objectID. It is then printed it to the screen in a long Hex value and also converts it to a character string. This code is written to help programers understand how to read the objectID from the bindery and put it into the format they would need to say: create a mail directory. srchdr.exe: 37077 bytes Reads a specified directory for all subdirs. -- 6-15-97/21:45p SRCHR.C is sample code which will get all subdirectories under a specified directory and print their names and File attributes to the screen. coninf.exe: 34227 bytes NWGetConnectionStatus of workstation -- 6-15-97/21:45p This program will show the user all servers he is connected to and information about earch server. usermk.exe: 34932 bytes Create a new user in the bindery -- 6-15-97/21:45p This code will create a new user in the bindery. clxcon.exe: 21248 bytes Header file for NWCC API calls -- 6-15-97/21:45p NWCLXCON.H is missing from the Volume 4 SDK (Client portion.) This file is used for the new connection calls: "NWCC......" This header file is mistaken refered to in the documentation as NWCLNCON.H gchatc.exe: 55693 bytes TLI Group Chat Client Sample Code -- 6-15-97/21:45p This sample code demonstates how to use TLI in non-blocking mode for the Windows environment. The transport used is SPX II. This is a partner program to GCHATS.EXE, the server half of this sample code. Download both GCHATC.EXE and GCHATS.EXE to get the complete example. The executable is included with both to demonstrate how the code functions. gchats.exe: 54008 bytes TLI Chat Server Example Code -- 6-15-97/21:45p GCHATS.EXE contains sample code that demonstrates how to build a non-blocking TLI group chat server that can service up to 15 clients simultaneously for Windows. This is a partner program to GCHATC.EXE. Both GCHATS.EXE and GCHATC.EXE must be downloaded to have all of the source for the Group Chat client/server example. ipxsed.exe: 52856 bytes IPX Send Example For Windows -- 6-15-97/21:45p IPXSED.EXE is sample code that demonstrates how to send an IPX packet from Windows using a polling procedure rather than an ESR (event service routine). The partner (receiving) program to this one is IPXRCV.EXE. Download both IPXSED.EXE and IPXRCV.EXE to get the complete working example. ipxrcv.exe: 40689 bytes IPX Receive Packet Example -- 6-15-97/21:45p IPXRCV.EXE is a partner program to IPXSED.EXE and demonstrates how to use an ESR (event service routine) to receive a packet. This example was built with MSC Visual C++ v1.51. The assembly event service routine handler was built with MS MASM v6.00. The RHAND.OBJ can be added to your project and used unmodified, however, it was built for LARGE MODEL. It will need to be rebuild for use with other memory models. glttst.exe: 75359 bytes IPX Get Local Target Async Sample -- 6-15-97/21:45p GLTTST.EXE contains sample code that demonstrates how to use the following two IPX Function Calls: IPXGetLocalTarget() and IPXGetLocalTargetAsync(). IPXGetLocalTarget() blocks while waiting for a response back from a router. If no route is found for the network address specified then Windows is suspended until the call fails. IPXGetLocalTargetAsync() will issue a request to find the local route to a network but will not block. A Windows message is send upon success or failure of the call. ipxasm.exe: 25421 bytes IPX Assembly Language Sample Code -- 6-15-97/21:45p IPXASM.EXE contains sample code that demonstrates how to use the IPX assembly language interface to build a SAP query and receive the response from a router. This sample code presents the steps required to retrieve the IPX far call address, prepare IPXHeader's, data buffers and ECB's for both sending and receiving an IPX packet. nwsipx.exe: 24057 bytes NWSIPX API White Paper -- 6-15-97/21:45p NWSIPX API White Paper. This white paper describes the new IPX/SPX interface API. rmap.exe: 104921 bytes Sample code for mapping with the Client API's -- 6-15-97/21:45p This program allow's the user to change or create a new drive mapping based on the drive and path specified. The reset code will set the drive back as a map root. Volume-path returned by NWStripServerOffPath is the full path, so when NWSetDriveBase() is run it will map root the drive to were that mapping used to be. In order to return the original mapping use NWSetDriveBase() to the root of the volume, then use the dos function calls to changedirectory out to the Subdirectory you wish to be in.
NOTE: code has been added to show the NDS volume name. gtserv.exe: 34356 bytes NWGetKnownServersInfo() -- 6-15-97/21:45p This code will find all the Netware servers that are advertising with SAP packets. You Must have console operator rights to make this call.This call is reading the information from the servers connection table and returning chunks of info in a 512 byte buffer. This makes this call more efficient than a bindery scan call or a general service query. sbcast.exe: 35300 bytes Use NWSetBroadcastMode() -- 6-15-97/21:45p This code will set the BroadCast mode to:
 0x0000 Receive all broadcasts
0x0001 Recieve only server broadcasts. User messages not stored.
 0x0002 Desable broadcasts. User messages not stored. Server messages are stored but notification is not given to the workstation.
0x0003 Both user and server messages are stored but message notification is not sent to the workstation. The client can poll for messages. dsread.exe: 93263 bytes NWDSRead() for getting network Address of Ob -- 6-15-97/21:45p This code will read the network addresses from a named Directory Services object and display all parts of the address. dsdelu.exe: 107860 bytes NWDSRemoveObject remove the specified object -- 6-15-97/21:45p Shows how to use NWDSRemoveObject to delete an object from Novell Directory Services. dsfind.exe: 112085 bytes NWDSSearch finds a user in current container -- 6-15-97/21:45p This code will take a username and find that user in the current container. Wildcards can be used with NWDSSearch so names like JR* can be used to find users like JRoss. crprnt.exe: 21274 bytes NWPSCfg calls used for printserver, queue et -- 6-15-97/21:45p CRPRINT.C uses many of the NWPSCfg calls to create a printserver, queue, and printer in the current context. An operator is added to the queue and a person to be notified is added to the printer. A printer configuration is added to the printer. spxex1.exe: 58772 bytes OS/2 SPX Sample Code -- 6-15-97/21:45p SPXCHAT.CPP demonstrates the function of a multi-threaded OS/2 SPX chat program. It has been written to work with Borland C++ for OS/2 and IBM CSET/++. While it was written for 32-bt compilers, it should compile in 16-bit mode with few changes. These changes would primarily be modifying the #defines for the semaphore calls. Please see the source code comments for proper command-line syntax. afpmfl.exe: 38703 bytes Uses NWAFPCreateFile() -- 6-15-97/21:45p A C++ class library for NetWare Directory Services (NDS). Described in the article "NDS Application Development Using C++" in the Jan/Feb 95 and Mar/Apr 95 issues of Novell Developer Notes. sapex3.exe: 85524 bytes SAP Sample Code for OS/2 32 Bit Compilers -- 6-15-97/21:45p Sample code for OS/2 that provides equivalent functionality to DOS AdvertiseService and QueryServices calls. This sample code is multi-threaded, 32-bit sample SAP code for OS/2. This code was written for Borland C++ for OS/2 and IBM CSET/++.