home *** CD-ROM | disk | FTP | other *** search
/ Power GUI Programming with VisualAge C++ / powergui.iso / trialva / ibmcppw / samples / som / somd / cpp / dii / readme.txt < prev    next >
Encoding:
Text File  |  1996-02-16  |  3.3 KB  |  78 lines

  1. #   10H9767, 10H9769  (C) COPYRIGHT International Business Machines Corp. 1992,1994,1996
  2. #   All Rights Reserved
  3. #   Licensed Materials - Property of IBM
  4. #   US Government Users Restricted Rights - Use, duplication or
  5. #   disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
  6.  
  7.  **********************************************************************
  8.  * DISCLAIMER OF WARRANTIES.
  9.  * The following [enclosed] code is sample code created by IBM
  10.  * Corporation. This sample code is not part of any standard or IBM
  11.  * product and is provided to you solely for the purpose of assisting
  12.  * you in the development of your applications.  The code is provided
  13.  * "AS IS". IBM MAKES NO WARRANTIES, EXPRESS OR IMPLIED, INCLUDING BUT
  14.  * NOT LIMITED TO THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
  15.  * FOR A PARTICULAR PURPOSE, REGARDING THE FUNCTION OR PERFORMANCE OF
  16.  * THIS CODE.  IBM shall not be liable for any damages arising out of
  17.  * your use of the sample code, even if they have been advised of the
  18.  * possibility of such damages.
  19.  *
  20.  * DISTRIBUTION.
  21.  * This sample code can be freely distributed, copied, altered, and
  22.  * incorporated into other software, provided that it bears the above
  23.  * Copyright notice and DISCLAIMER intact.
  24.  **********************************************************************
  25.  
  26. DII
  27.  
  28.    DESCRIPTION:
  29.       Displays the results of a dynamic method invocation inside a window.
  30.  
  31.    CONCEPT/FEATURE:
  32.       The directory contains a sample client program which uses the 
  33.       Dynamic Invocation Interface (DII) to invoke a method on a remote 
  34.       object.  The sample creates a remote object, creates a NVList 
  35.       object for the argument list, creates a request object for the 
  36.       operation, invokes the request on the object, displays the results, 
  37.       and destroys the remote object when the program is terminated.
  38.  
  39.  
  40.    HOW TO RUN THE PROJECT FROM THE COMMAND LINE:
  41.       The makefile "vac.mak" in this directory will build a client 
  42.       executable and a dynamically loadable library.  They are:
  43.  
  44.        - diitest.exe (the DSOM client application)
  45.        - foo.dll (the library loaded by the server)
  46.  
  47.       To build the sample:
  48.        "nmake -f vac.mak all".
  49.  
  50.       To clean up the directory and implementation repository after running
  51.       the samples:
  52.  
  53.         "nmake -f vac.mak clean".
  54.  
  55.       RUNNING THE SAMPLE
  56.       ------------------
  57.       Kill "somdd"' if it is already running.
  58.       Execute "run.bat", which will start "somdd" and run the sample 
  59.       "diitest.exe"
  60.  
  61.    HOW TO RUN THE PROJECT FROM WITHIN THE WORKFRAME ENVIRONMENT:
  62.     -Open the project "dii.iwp" in the sample directory.
  63.     -Kill "somdd"' if it is already running.
  64.     -To make the project:
  65.         from the "Project" menu, select "Make",
  66.         or from the pop-up menu for the icon "vac.mak", select "Make"
  67.     -Click the "Run" icon to run the sample.
  68.     -From the command line or Project Monitor, 
  69.      "nmake -f vac.mak clean" to clean up.
  70.  
  71.    A complete listing of samples shipped with the VisualAge for C++
  72.    product can be found in the online GUIDE TO SAMPLES.  To access
  73.    this notebook, simply:
  74.  
  75.      -  Open the VisualAge for C++ program group in the Program
  76.         Manager window, then
  77.      -  Open the GUIDE TO SAMPLES notebook in the program group.
  78.