|
|
1.1 ! root 1: This directory contains the files for the sample distributed application ! 2: "nhello": ! 3: ! 4: File Description ! 5: ! 6: README.TXT Readme file for the NHELLO sample ! 7: NHELLO.IDL Interface definition language file ! 8: NHELLOC.C Client main program ! 9: NHELLOS.C Server main program ! 10: NHELLOP.C Remote procedures ! 11: MAKEFILE Nmake file to build for NT ! 12: MAKEFILE.DOS Nmake file to build for MS-DOS ! 13: ! 14: ----------------------------------------------------------------------- ! 15: BUILDING CLIENT AND SERVER APPLICATIONS FOR MICROSOFT WINDOWS NT: ! 16: ----------------------------------------------------------------------- ! 17: ! 18: The following environment variables should be set for you already. ! 19: set CPU=i386 ! 20: set INCLUDE=c:\mstools\h ! 21: set LIB=c:\mstools\lib ! 22: set PATH=c:\winnt\system32;c:\mstools\bin; ! 23: ! 24: For mips, set CPU=mips ! 25: ! 26: Build the sample distributed application: ! 27: nmake cleanall ! 28: nmake ! 29: ! 30: This builds the executable programs nhelloc.exe ! 31: (client) and nhellos.exe (server). ! 32: ! 33: ----------------------------------------------------------------------- ! 34: BUILDING THE CLIENT APPLICATION FOR MS-DOS ! 35: ----------------------------------------------------------------------- ! 36: ! 37: After you install the Microsoft C/C++ version 7.0 development ! 38: environment and Microsoft RPC toolkit on an MS-DOS or Microsoft Windows ! 39: computer, you can build the sample client application for MS-DOS. Enter: ! 40: ! 41: nmake -f makefile.dos cleanall ! 42: nmake -f makefile.dos ! 43: ! 44: This builds the client application nhelloc.exe. ! 45: ! 46: ----------------------------------------------------------------------- ! 47: RUNNING THE CLIENT AND SERVER APPLICATIONS ! 48: ----------------------------------------------------------------------- ! 49: ! 50: On the server, enter ! 51: ! 52: net start rpclocator ! 53: nhellos ! 54: ! 55: (You can also Start the RPC Locator by running the Services ! 56: program in Control Panel.) ! 57: ! 58: On the client, enter ! 59: ! 60: net start workstation ! 61: nhelloc ! 62: ! 63: Note: The client and server applications can run on the same Microsoft ! 64: Windows NT computer when you use different screen groups. ! 65: ! 66: Several command line switches are available to change settings for this ! 67: program. For a listing of the switches available from the client ! 68: program, enter: ! 69: ! 70: nhelloc -? ! 71: ! 72: For a listing of switches available from the server program, enter ! 73: ! 74: nhellos -?
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.