Cross-Language Samples
Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here. ArchiveDisclaimer

Visual J# Cross-Language Samples 

The samples in this section are ported from samples in other languages.

In This Section

Sample Description

Delegates Sample (Custom Delegates)

Illustrates use of the delegates in Visual C++. A delegate is created over a method defined in a DLL created with Visual J#.

ManagedEvents Sample (Demonstrates Creating and Using Events in a Managed Application)

Demonstrates event handling interoperability between Managed Extensions for C++ and Visual J# objects. The Visual J# code implements both an event source and an event receiver.

TilePuzzle Sample: Visual J# and Managed Extenstions for C++ Interoperability

Demonstrates interoperability between managed components (written with Managed Extensions for C++ and Visual J#) and native components (written with C++ using COM attributes).

Related Sections

© 2015 Microsoft