--- mstools/samples/rpc/dict/readme.txt 2018/08/09 18:20:58 1.1.1.2 +++ mstools/samples/rpc/dict/readme.txt 2018/08/09 18:24:22 1.1.1.3 @@ -2,7 +2,7 @@ /** **/ /** Microsoft RPC Examples **/ /** Dictionary Application **/ -/** Copyright(c) Microsoft Corp. 1991 **/ +/** Copyright(c) Microsoft Corp. 1992 **/ /** **/ /*************************************************************/ @@ -32,11 +32,10 @@ the use of [context_handle]. Context ha using a global primitive handle [implicit_handle]. 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. +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. The use of context to maintain state is also demonstrated by differenciating between a private iterator, activated by "n" for "next" @@ -48,68 +47,64 @@ The private iterator can be reset to DIC Building on Windows/NT ---------------------- -In a Windows/NT SDK environment 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 --> set NT_I386=1 - - or - --> set NT_MIPS=1 - - depending on your hardware. - -In a DOS (or a DOS prompt under Windows 3.X) type: - --> set DOS=1 - -In all three environments type: - --> nmake cleanall --> nmake - -To remove only object files type: - --> nmake clean - -Alternatively, in the DOS environment only, you can avoid defining -the DOS environment variable and invoke nmake as follows: - --> nmake -f makefile.dos +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