Export (0) Print
Expand All

Alphabetical List of Managed Extensions for C++ Samples

Visual Studio .NET 2003

The following samples demonstrate using Managed Extensions for C++:

Sample Description
Arrays Implements single-dimensional and multidimensional arrays in a managed context.
BirthdayPicker Demonstrates the usage of .NET Framework resources (Windows Forms and other resources) with a managed application.
BoxedValue Demonstrates how to throw and catch an instance of a value class.
ButtonCtl Demonstrates the basic functionality of a Button control.
Calculator A simple pocket calculator that demonstrates Windows Forms classes, managed arrays, delegates/events, enums, and conversions between String, Double, and Char classes.
CheckedListBoxCtl Demonstrates the basic functionality of a CheckedListBox control.
ComboBoxCtl Demonstrates the basic functionality of combo boxes.
CustomAttributes Implements two custom attributes.
Data Performs a query on an existing database and displays the results.
Delegates Implements single-cast and multicast delegates in a managed application.
DivideBy0 Catches an exception of type DivideByZero.
DockMan Demonstrates the docking and anchoring of Windows Forms and the Button control.
InteropEHinC Throws an exception from a managed component to an unmanaged C component.
InteropEHinCPP Throws an exception from a managed component to an unmanaged C++ component.
JrnlPost Demonstrates basic concepts of accessing business logic from both COM and .NET Framework clients.
MCppWrapper Demonstrates the wrapping of an unmanaged class using Managed Extensions for C++.
MECalculator Demonstrates using .NET components in native C++ code.
MEDriver Demonstrates COM eventing using .NET Framework support within a managed application.
Mixed Throws managed and unmanaged exceptions in the same process.
mNotepad Implements a simple text editor using the .NET Framework class TextBox and demonstrates areas of Managed Extensions for C++.
NDPExceptions Demonstrates throwing and catching unmanaged and managed exceptions in various situations
PinningPtrs Demonstrates various characteristics and features of pinned pointers.
ProgressBarCtl Demonstrates the basic functionality of a ProgressBar control.
Properties Implements standard and indexed properties for a managed class.
QStat Demonstrates how to create a DLL that wraps access to a COM object and exposes its functionality to .NET Framework clients.
Rethrow Rethrows a common language runtime exception and catches it as a C++ exception.
Scribble Demonstrates a managed MDI drawing application using Windows Forms.
SEHCleanup Demonstrates cleanup code using common language runtime exceptions and the __finally keyword.
SimpleEH Throws a simple exception and performs cleanup operations with the __finally keyword.
TabControlCtl Demonstrates the basic functionality of a TabControl control.
TilePuzzle An interactive sliding tile puzzle that demonstrates the interoperability of managed and unmanaged components.
TrackBarCtl Demonstrates the basic functionality of a TrackBar control.
TreeViewCtl Demonstrates the basic functionality of a TreeView control.
Unspecified Throws and catches an unmanaged exception.
UpDownCtl Demonstrates the basic functionality of several up-down controls.
UsingMCppGCRoot Demonstrates embedding __gc pointers in unmanaged classes.
ValueTypes Implements a value class and then demonstrates various boxing and unboxing schemes.
WinFormsView Demonstrates using .NET Framework Windows Forms controls as MFC views.

See Also

Managed Extensions for C++ Samples | Categorical List of Managed Extensions for C++ Samples

Show:
© 2014 Microsoft