#
# README.txt
#
# Copyright 2001-2007 by Oracle. All rights reserved.
#
# Oracle is a registered trademarks of Oracle Corporation and/or its
# affiliates.
#
# This software is the confidential and proprietary information of Oracle
# Corporation. You shall not disclose such confidential and proprietary
# information and shall use it only in accordance with the terms of the
# license agreement you entered into with Oracle.
#
# This notice may not be removed or altered.
#
README
======

C++ to .NET Example

Contents
========

    * Overview
    * Prerequisites
    * Build Instructions
    * Running the Example
    * Resources

Overview
========

This example demonstrates how to call the Coherence for .NET API from a Windows
C++ application.

The example consists of two basic components, one written in C# and the other
written in C++. The sources found in  the src\cs directory contain a very
simple COM visible .NET interface and implementation that allow applications
written in a variety of languages (C++, VB, etc.) to call the basic INamedCache
interface methods. The sources found in the src\cpp directory contain a simple
C++ command line application that populates and accesses a clustered Coherence
cache via the COM interface wrapper.

Prerequisites
=============

To build the example, you must have the following software installed:

  * J2SE SDK 1.4 or later
    (http://java.sun.com/)
  * Microsoft .NET 2.0 Framework
    (http://msdn2.microsoft.com/en-us/netframework/default.aspx)
  * Microsoft Visual C++ 2005
    (http://msdn.microsoft.com/visualc/)
  * Oracle Coherence 3.3.1
    (http://www.oracle.com/technology/products/coherence/index.html)
  * Oracle Coherence for .NET 3.3.1
    (http://www.oracle.com/technology/products/coherence/index.html)

Build Instructions
==================

  * Update bin\set-env.cmd to reflect your system environment.

  * Open a shell and execute the following command in the bin directory:

      build.cmd

  * To completely remove all build artifacts from your filesystem, run:

      clean.cmd

Running the Example
===================

  * Start the Coherence cluster by executing the following script:

      server.cmd

  * Start the example C++ client application by executing the following script:

      client.cmd

Resources
=========

See: http://support.microsoft.com/kb/828736