Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
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.

Interoperability Samples

The following topics are the abstracts for the Interoperability samples written in C++.

NoteNote:

When building a sample application, first verify that the platform is set to your current platform in the Solution's Configuration property page. For example, you may need to change the platform from Itanium to Win32.

MEDriver Sample: Demonstrates COM Eventing in the .NET Framework

Illustrates the use of COM events (fired from an unmanaged COM server) through a .NET Framework wrapper, automatically generated from the COM server's type library.

QStat Sample: Wraps a COM Object to Expose Business Logic

Shows how to create a DLL that wraps access to a COM object and exposes its functionality to .NET Framework clients.

TilePuzzle Sample: Demonstrates Interoperability Between C# and C++

Demonstrates interoperability between managed components (written with C++ and C#) and native components (written with C++ using COM attributes).

Using C++ Interop (Implicit PInvoke)

Describes and demonstrates using C++ to combine managed and unmanaged functionality into single applications.

Mixed (Native and Managed) Assemblies

Provides an overview of mixed assemblies, which allow managed and unmanaged C++ components to interoperate.

Community Additions

ADD
Show:
© 2015 Microsoft