Highlighting interoperability support provided by C++ and analysis of performance
5 Feb 2002
Diana Mitran (MSFT)
This white paper guides you through the process of writing a client application that will consume a sample .NET My Services service
6 Nov 2013
Konstantin Tchoumak
Reading hardware information in Stored Procedure
9 May 2010
Software_Developer
How to create an automatic Wallpaper Changer with Windows Forms (C++)
25 Jul 2002
Nish Sivakumar
A work time tracking system that includes a Managed C++ remoting server and MFC clients that use the managed extensions. The application demonstrates how to mix managed and unmanaged code.
14 Jul 2003
Ralph Arvesen
A port of the famous C-language based game engine to Visual C++ with a .NET managed heads-up display.
Using C to blend Mathematics and Art that will produce a carving
28 Apr 2004
Nish Sivakumar
A brief look at the new C++/CLI syntax and how it improves over the old MC++ syntax
8 Mar 2008
Nish Sivakumar
The performance of STL/CLR sequence containers are compared with that of corresponding BCL generic collection classes
This is an update to Don Kackman's UxTheme component originally written for Visual Studio 2003
28 Jul 2005
Nish Sivakumar
Why the author thinks that C++/CLI has its own unique role to play as a first-class .NET programming language
29 Nov 2004
Nish Sivakumar
Tries to explain the syntax, usage and behavior of interior pointers in C++/CLI
12 Aug 2004
Nish Sivakumar
The article exposes the new array syntax available in C++/CLI for the declaration and use of CLI arrays
5 Jul 2008
Nish Sivakumar
This article walks through the implementation of a C++/CLI class from a disposable C# base.
20 Jun 2006
Nish Sivakumar
The article takes a brief look at some not so commonly used classes such as auto_handle, lock, and ptr.
11 May 2005
Nish Sivakumar
Looks at the syntax for the declaration and use of properties in C++/CLI
20 Jan 2006
Nish Sivakumar
CAutoNativePtr is a managed template class that acts as a smart pointer, and is handy for using native objects in managed code.
27 Jul 2007
Tomas Petricek
CLinq project is a library that makes it possible to use LINQ technologies from the C++/CLI language
This is an article discussing how to create a user control and how to add it to other projects using Visual Studio 2005 C++/CLI and .NET Framework 2.0.
13 Aug 2004
Nish Sivakumar
Looks at how deterministic destruction is possible with C++/CLI
23 Jun 2004
Nish Sivakumar
Takes a look at new features like explicit overriding, renamed overriding, multiple overriding and sealing a method
30 Nov 2004
Nish Sivakumar
Article on the usage and dangers of pinning pointers
24 Aug 2004
Antti Keskinen
A multi-part article, introducing a C++-background person into the world of C++/CLI.
21 Dec 2006
Antti Keskinen
Second part of the series: leaving Platform SDK behind, and MDI Forms.
A full blown sample of keeping data secret in memory or on a file.
Managed C++ wrapper to a native C++ library
A guide about how to mix native and managed code in one solution
21 Aug 2011
Vinod Vijayan
List that combines the advantage of array and linked-list and has better performance
1 Jul 2009
Denis Dwornitzak
The author shows how easy it is to implement the using statement known by C#.
12 Jul 2007
Nish Sivakumar
This article covers basic marshal_as usage, as well as how to extend marshal_as to support additional type conversions
8 Dec 2004
James T. Johnson, Nish Sivakumar
Introduces generics and compares it with templates
The purpose of this article is to present some utilization of configuration files in a Windows Forms application with C++/CLI.
Thsi article explains how to create an RSS reader user control.
A .NET control meant to accomplish a task similar to MFC’s CRectTacker().
.NET wrapper for libbz2, written in MC++
An article on how to access data from fixed size record data from the .NET environment
15 Nov 2011
Mitendra Anand
How to implement COM connection point callback for a C++\CLI client.
18 Oct 2001
Igor Chouvalov
A demoonstration of COM Interop, showing early and late binding to a COM component
11 May 2002
Nish Sivakumar
An MC++ class that uses IJW to invoke the IShellLink interface
An article on how to retrieve information from a COM object to determine COM DLL filename.
A Draft Implementation of an Idea for .NET Dynamic Software Load Balancing
14 Aug 2002
Bill Ferreira
File encryption object using Managed Extensions for C++
A custom TextBox with input validation written in VC++.NET, also walks you through the steps needed to build your own custom controls
Use this class when high precision is required in basic numerical operations.
25 Jun 2002
sultan_of_6string
The .NET ArrayList class provides "dynamic arrays" which, to a C++ programmer should seem really innane. Here's a linked list collection class that can be used in any .NET language.
A three-part series demonstrating how to develop an Oracle Call Interface (OCI) custom data source for Ultimate Grid
A three-part series demonstrating how to develop an Oracle Call Interface (OCI) custom data source for Ultimate Grid
Use Managed C++ as your code-behind file for ASP.NET web pages
27 Jun 2002
Nish Sivakumar
Demonstrates the use of the reader/writer classes as well as the file/directory info classes
2 May 2013
Nicolas Dorier
My journey to migrate pInvoke code to C++/CLI
2 Feb 2006
Siddhartha Batra
BitmapHandler is a component written in C++ which goes into the basics of reading & creating Bitmaps
Looks like bug in managed c++ with unmanaget template class/struct
13 Sep 2007
Vivek Ragunathan
Get to know the basics of the ultimate language of the .NET platform
10 Jun 2007
Ionescu Marius
A simple calculator based on inheritance class
This article shows you how to call managed code from unmanaged code and also the other way round.
24 Aug 2002
Nish Sivakumar
Demonstrates and compares the various casting operators available. Also suggests when to use and what to use!
5 Feb 2007
Antonio Pedro Dinis
Class Library (DLL) to automate Excel in C++
18 May 2005
Nish Sivakumar
CNullable can be used to represent a value type (or simple native type) such that the type can be nulled. You can also compare it to nullptr using the == and != operators both of which have been overloaded.
31 Mar 2011
Yanick Salzmann
An article on how Try/Catch/Throw are interpreted by the Microsoft Compiler
Convert a delegate to a function pointer to implement callback function, for mixed Managed C++ and unmanaged C++ coding, and for DLL call.
7 Feb 2005
mshoukry_alkhwarazmi
a class to convert from VC++.NET String* data type to leagcy LPCTSTR
Creating a custom wizard to generate managed C++.NET applications with a default form
16 Oct 2001
Chris Maunder
An introduction to cross-language inheritence in .NET.
Cross Language XML based Web Service Implementation between Managed C++ and C#.
7 Sep 2004
Peter C. Gallati
An article on implementing a DataGrid control bound to nested ArrayLists in a Windows Form
A four line algorithm in MC++ for converting decimals to fractions.
16 Oct 2001
Chris Maunder
This sample demonstrates single- and multi-cast delegates using C++, including declaration, creation and usage, and a discussion on type safety.
13 Jun 2002
Nish Sivakumar
Introduces and walks you through the use of delegates in .NET. Compares and contrasts the different approaches that MC++ and C# adopt in the use of delegates. With examples in both languages
18 Jul 2006
Nimesha Ranasinghe
Alert GMail user when the mails come
Dynamic Stack by using Linked list concept
28 May 2002
Nish Sivakumar
Shows how you can load an assembly at run time, instantiate a class in that assembly and call methods on the class
26 Jul 2006
Nimesha Ranasinghe
Detect motion using any webcam
Encrypts/self-decrypts a file at a time based on password and chosen algorithm
Modified Microsoft Setup program to install required IE6, MSI 2.0 and .NET.
An article on adding memory to events using Managed C++.
An exception is any error occurring in the program at execution time. Exception handling increases the program reliability.
13 Aug 2002
Bill Ferreira
Process files based on a file filter and have the filter applied recursively to sub folders
14 Aug 2002
Bill Ferreira
.NET command line utility, implementing file security through symmetric encryption.
18 Jun 2002
Chris Maunder
A quick introduction to Garbage collection in .NET using Managed C++
18 Oct 2001
Igor Chouvalov
This Sample demonstrates basic drawing techniques using GDI+ in a Managed C++ application.
Retrieve the physical Hard drive ID and other info using low level APIs like DeviceIOControl
How to get the calling module that invoked your function as an entry point.
28 Jul 2006
ZhengPing Wang
GUID Generator based on SHA1
Make managed and unmanaged calls into a DLL library
This article explains how to create a NT Service also known as a Windows Service using C++ with Managed Extensions.
11 Apr 2002
Albert Pascual
How to get the clients IP address using TcpClient in Managed C++
This article explains how to use Process Class in Managed C++ applications
13 Jun 2002
Nish Sivakumar
Tutorial on creating your own collection classes that are enumerable and sortable. Explains in detail the usage of the IEnumerable, IEnumerator, IComparable and IComparer interfaces
15 Aug 2007
Zeeshan Ejaz Bhatti
A utility to control screen saver on your computer using computer vision (human face detection), rather than idle timer.
8 Jul 2002
Nish Sivakumar
An attempt to get a beginner started on Managed C++
Managed C++ often gets a bum rap in the world of .NET. Some of it is deserved, some is not, and some comes from just plain misunderstanding.
4 Nov 2001
Nish Sivakumar
Shows how to use the Mutex class to limit your app to a single instance using a named mutex
13 Mar 2007
Giuseppe Pischedda
Load JPEG images from DLL with LoadResource in Managed C++
8 Aug 2003
Jonathan de Halleux
Add the Lua scripting engine to your .NET applications.
18 Apr 2003
Nemanja Trifunovic
Some code to help you combine MC++ and STL
14 Sep 2005
Elias Bachaalany
This article will teach you MC++ in a direct and experiential manner.
3 Mar 2005
Alberto Ferrazzoli
.NET wrapper for ZLib, written in MC++
9 Aug 2003
Nish Sivakumar
An introduction to managed exception handling in MC++ programs
8 Nov 2013
Alexey Shalnov
How to build Not OLE container of MFC applications based on hosting of MFC application from within WinForms and WPF applications
7 Apr 2014
Alain DOS REIS
A first approach to mixing .NET and native code, using the C++/CLI gateway.
How to use a modeless WinForm from an unmanaged application including callback functionality
A (managed C++) library for object pooling in .NET
13 Nov 2001
Nish Sivakumar
Shows how you can use data bound controls with OLE DB
2 Dec 2001
Nish Sivakumar
Basic introduction to using OLE DB to insert, update and read records from a database
26 Jun 2007
Elias Bachaalany
Learn C++/CLI in less than 10 minutes.
2 Sep 2003
Nemanja Trifunovic
A template wrapper that enables deterministic cleanup in .NET environment.
The explanations, workarounds, scenarios and the rationale behind the decisions to change the Whidbey C++ compiler.
19 Feb 2004
Nik Vogiatzis
Allows a developer to use the .NET way of reading binary files.
29 Jul 2006
Boby Thomas P
Brief description on remote debugging using GDB, DDD and GDBserver
28 Jun 2005
howdyeveryone
another screensaver code, but this one is managed c++ only, no MFC, winipi stuff
26 May 2002
Nish Sivakumar
A basic introduction to serialization using Managed C++
28 Nov 2002
Adrian-Bogdan Andreias
A smart logger that makes use of the new predefined VC++.NET macros.
Sudoku solver using a backtracking algorithm
This article explains Managed Threads with Windows Forms Controls
13 Sep 2009
Johann Anhofer
The goal of this article is to describe a more or less generic way to access .NET managed objects from a native C++ application.
Demonstrates how easy it is to combine ACE and .NET using C++ CLI mixed mode
12 Sep 2001
Igor Chouvalov
This article demonstrates the basics of accessing a database and retrieving data from that database usingthe ADO.NET data classes.
25 Jun 2002
Nish Sivakumar
Declaring and using managed .NET arrays with MC++
16 Oct 2001
Chris Maunder
A quick introduction to using .NET managed reference types in C++
16 Oct 2001
Chris Maunder
An introduction to using scalar and indexed properties in managed C++
16 Oct 2001
Igor Chouvalov
This sample demonstrates a basic technique of networking using the TCP/IP protocol in a managed C++ application by implementing a simple POP3 client.
The easy way to embed a managed resource for use with a component's toolbox bitmap.
An article on how to use unmanaged C++ classes exported from pre-built libraries (DLLs) with no source code.
16 Oct 2001
Chris Maunder
A quick introduction to using .NET value types in managed C++
9 Mar 2002
Rama Krishna Vavilala
A wizard to create a Managed C++ class library which is also a MFC regular DLL
13 Sep 2006
FERNANDO PAREDES ARNEDO
ASCII based encoder. Clear, encoded and key text allows all printable characters
27 Dec 2006
Giuseppe Pischedda
Whidbey style with ProfessionalColorTable class
How to use Windows Forms in a Win32 application using Managed C++
This project shows with an example how to combine Managed C++, Managed DirectX and Windows Forms.
An article on using the USB Human Interface Device api for reading a wired PS3 controller including motion.
How to make a thin-as-possible .NET IEnumerable-wrapper around MFC list classes.
An article about the boundary of unmanged native and managed code
This is a SQL Server 2000 Extended Stored Procedure writted in Managed C++. It allows you to use regular expressions in T-SQL.
Using the XP Theme API safely on any OS from C#
This article shows a basic introduction for exposing native C++ content to managed .NET projects, using C++/CLI or P/Invoke.
17 Jun 2005
Nish Sivakumar
Explains the usage of the Marshal class methods GetFunctionPointerForDelegate and GetDelegateForFunctionPointer, and compares their performance with the P/Invoke mechanism.
17 Apr 2002
Albert Pascual
How to open a Serial COM port using Managed C++ and loading unmanaged DLLs
14 Jul 2002
Nish Sivakumar
Shows how you can call native API functions that require callbacks using IJW, and without the use of DllImport attribute. The technique allows you to pass a delegate as the callback function just as in the MS recommended manner except, I show you how to do this without the ugly DllImport attribute.
4 Jul 2002
Nish Sivakumar
This is further demonstration of MC++ IJW capabilities
3 May 2002
Nish Sivakumar
A basic introduction to using IJW instead of P/Invoke in Managed C++. This is also the first CP article on IJW.
How to use your managed class libraries in your unmanaged application, using IJW.
16 Oct 2001
Igor Chouvalov
This article demonstrates interoperability between .NET managed code and old unmanaged code. It uses the P/Invoke mechanism to call unmanaged DLL entry points.
C++ / MFC - Visual C++ .NET
15 Feb 2005
Alberto_Martinez
Very addictive game that demonstrates some GDI, sound, and 100% solvable puzzle creation (from all the testing so far).
Free component for parsing HTML, .NET version of EfTidyCom
How to control the dependancy on oleacc.dll in your Visual C++ .NET applications
Find out if .NET Framework is installed on the machine, before running your .NET code-based program.
12 Jul 2004
Nemanja Trifunovic
Another standard feature missing from MSVC++ 7.1