#   10H9767, 10H9769  (C) COPYRIGHT International Business Machines Corp. 1992,1994,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.

 **********************************************************************
 * 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.
 **********************************************************************

STACK

   DESCRIPTION:
      Allows the user to use a graphical user interface to push and pop a
      stack.

   CONCEPT/FEATURE:
      This sample was used in the SOMobjects Developer Toolkit User's Guide 
      as a first example of DSOM usage.  This sample creates a remote stack 
      from which the local user can push and pop elements.

   HOW TO RUN THE PROJECT FROM THE COMMAND LINE:
      The supplied makefiles will make the client program, stack.dll,
      IR (Interface Repository), and the Implementation Repository

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

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

       - "nmake -f vac.mak clean"

      RUNNING THE SAMPLE:
      -------------------
      Kill "somdd" if it is already running.
      Execute "run.bat", which will start "somdd" and execute
      "somstack.exe".

   HOW TO RUN THE PROJECT FROM WITHIN THE WORKFRAME ENVIRONMENT:
    -Open the project "stack.iwp" in the sample directory.
    -Kill "somdd" if it is already running.
    -To make the project:
        from the "Project" menu, select "Make",
        or from the pop-up menu for the icon "vac.mak", select "Make"
    -Click the "Run" icon to execute the sample.
    -From the command line or the Project Monitor, 
     "nmake -f vac.mak clean" to clean up.

     A complete listing of samples shipped with the VisualAge for C++
     product can be found in the online GUIDE TO SAMPLES.  To access
     this notebook, simply:

     -  Open the VisualAge for C++ program group in the Program
        Manager window, then
     -  Open the GUIDE TO SAMPLES notebook in the program group.
