This documentation is archived and is not being maintained.

Visual J# Advanced Cross-Language Samples 

Visual Studio 2005

The following samples are ported from samples in other languages.

In This Section

DataSetConsumer Sample (Consumes Multiple Table Datasets)

Demonstrates how to consume multiple-table datasets in a SPROXY-generated SOAP client. The Visual J# code creates a multiple-table dataset and exposes it through an XML Web services method.

JrnlPost Sample (Accessing Business Logic from Both COM and .NET Framework Clients)

Creates a single DLL containing native business logic, an interface and type library for COM clients, and an assembly with corresponding metadata for .NET Framework clients. The Visual J# code instantiates a managed object from the DLL and calls a couple of methods on it. It illustrates that the DLL contains both COM and .NET Framework classes.

MCppWrapper Sample (Wrapping a C++ DLL)

Illustrates how a Managed Extensions __gc class can be used as a proxy class (or wrapper) for an unmanaged C++ class in a DLL. The Visual J# code is a client that reads a string and position from the console and displays a suffix.

Related Sections

Show: