#    25H7912  (C)  COPYRIGHT International Business Machines Corp. 1996
#   All Rights Reserved
#   Licensed Materials - Property of IBM
#   US Government Users Restricted Rights - Use, duplication or
#   disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
#   @(#) 1.7 src/somples.nt/somd/c/dii/readme.txt, somples.somd, som3.0, s309651d 12/19/96 17:51:00 [12/23/96 08:42:16]

 **********************************************************************
 * DISCLAIMER OF WARRANTIES.
 * The following [enclosed] code is sample code created by IBM
 * Corporation. This sample code is not part of any standard or IBM
 * product and is provided to you solely for the purpose of assisting
 * you in the development of your applications.  The code is provided
 * "AS IS". IBM MAKES NO WARRANTIES, EXPRESS OR IMPLIED, INCLUDING BUT
 * NOT LIMITED TO THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
 * FOR A PARTICULAR PURPOSE, REGARDING THE FUNCTION OR PERFORMANCE OF
 * THIS CODE.  IBM shall not be liable for any damages arising out of
 * your use of the sample code, even if they have been advised of the
 * possibility of such damages.
 *
 * DISTRIBUTION.
 * This sample code can be freely distributed, copied, altered, and
 * incorporated into other software, provided that it bears the above
 * Copyright notice and DISCLAIMER intact.
 **********************************************************************

DII

   DESCRIPTION:
      Displays the results of a dynamic method invocation inside a window.

   CONCEPT/FEATURE:
      The directory contains a sample client program which uses the
      Dynamic Invocation Interface (DII) to invoke a method on a remote
      object.  The sample creates a remote object, creates a NVList
      object for the argument list, creates a request object for the
      operation, invokes the request on the object, displays the results,
      and destroys the remote object when the program is terminated.


   HOW TO RUN THE SAMPLE:
      The makefile "vac.mak" in this directory will build a client
      executable and a dynamically loadable library.  They are:

       - diitest.exe (the DSOM client application)
       - foo.dll (the library loaded by the server)

      To build the sample:
       "nmake -f vac.mak all".

      To clean up the directory and implementation repository after running
      the samples:

        "somdd" must be started if it is not running.
        "nmake -f vac.mak clean".

      RUNNING THE SAMPLE
      ------------------
         The DSOM daemon, "somdd", must be started.
         Wait until "somdd" displays the "Ready" message before continuing.
         To run the sample, execute "diitest".

         Alternatively, you may start the server yourself by invoking
         "start somdsvr -a diiServer1".  ("diiServer1" is the
         server's alias name used by the makefile when registering the server
         in the Implementation Repository using the "regimpl" registration
         utility.)  After the server is started, run "diitest".


