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

NOTE:  Please review the README in %SOMBASE%\samples\somd\cpp for
       general information on setting up and running DSOM samples.
       This README assumes that information.

Sample summary
--------------
Used in the SOMobjects Developer Toolkit Users Guide as first example of
DSOM usage.  This sample creates a remote stack from which the user can
push and pop elements.

MAKING THE SAMPLE
-----------------
The makefile.msc file will make the client program, the stack.dll,
the IR, and the Implementation Repository

To build the sample:

 - Microsoft users enter "nmake -f makefile.msc".

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

 - Microsoft users enter "nmake -f makefile.msc clean".

RUNNING THE SAMPLE
------------------
The DSOM daemon, "somdd", must be started from this
directory before executing the sample.  (See the README in
%SOMBASE%\samples\somd for information on running somdd.)
If the daemon is currently running, you must first kill it and
restart it from this directory.

To run the sample, execute the "somstack" program.  (The server
program will be started automatically.)
