--- mstools/samples/rpc/dict/readme.txt 2018/08/09 18:20:01 1.1 +++ mstools/samples/rpc/dict/readme.txt 2018/08/09 18:24:22 1.1.1.3 @@ -1,9 +1,9 @@ /*************************************************************/ -/** **/ -/** Microsoft RPC Examples **/ -/** Dictionary Application **/ -/** Copyright(c) Microsoft Corp. 1991 **/ -/** **/ +/** **/ +/** Microsoft RPC Examples **/ +/** Dictionary Application **/ +/** Copyright(c) Microsoft Corp. 1992 **/ +/** **/ /*************************************************************/ Overview: @@ -33,9 +33,9 @@ using a global primitive handle [implici State was added to remote dictionaries in order to allow sharing them, and maintain reference counts. At this time, however, access to shared -dictionaries is *not* serialized! By default each client gets his own copy -of the dictionaries. To use shared dictionaries, start the client using -the -s switch. +dictionaries is *not* serialized! By default each client gets his own +copy of the dictionaries. To use shared dictionaries, start the client +using the -s switch. The use of context to maintain state is also demonstrated by differenciating between a private iterator, activated by "n" for "next" @@ -47,53 +47,64 @@ The private iterator can be reset to DIC Building on Windows/NT ---------------------- -On an Windows NT PDK machine type to the console: +The following environment variables should be set for you already. + set CPU=i386 + set INCLUDE=c:\mstools\h + set LIB=c:\mstools\lib + set PATH=c:c:\winnt\system32;\mstools\bin; + +For mips, set CPU=mips + +Build the sample distributed application: + nmake cleanall + nmake --> nmake cleanall --> nmake all - -To remove only object files type: - --> nmake clean - -To build in the NT development environment: - --> nmake NTENV= all +Building on MS-DOS +------------------ +After you install the Microsoft C/C++ version 7.0 +development environment and the Microsoft RPC version +1.0 toolkit on an MS-DOS or Microsoft Windows computer, +you can build the sample client application for MS-DOS. +Enter: + + nmake -f makefile.dos cleanall + nmake -f makefile.dos + Using the program: ------------------ To use the local dictionary example, type "play". -To use the remote versiom, type "server" on the server side. On the client -side, for each client use "client" for a fresh, private copy of the -dictionary, or "client -s" for a shared copy of the dictionary. The -following command line options are available on the client side. +To use the remote versiom, type "server" on the server side. +On the client side, for each client use "client" for a fresh, +private copy of the dictionary, or "client -s" for a shared copy +of the dictionary. The following command line options are +available on the client side. Options: -------- The -? displays the following message: -Usage : client [-s] [-m] [-v] +Usage : client [-s] [-n ] [-v ] -The -s option is used for using a shared version of the dictionary. If - none exist, a fresh shared version is created. +The -s option is used for using a shared version of the dictionary. + If none exist, a fresh shared version is created. The -v