Click here to Skip to main content

C++ / CLI

Great Reads

by Nish Sivakumar
Basic introduction to using OLE DB to insert, update and read records from a database
by Chen Hao
How to control the dependancy on oleacc.dll in your Visual C++ .NET applications
by Nish Sivakumar
This article walks through the implementation of a C++/CLI class from a disposable C# base.
by 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

Latest Articles

by Konstantin Tchoumak
Reading hardware information in Stored Procedure
by Meena Chockalingam
Understanding LIST_ENTRY lists and CONTAINING_RECORD macro which are used in Windows Kernel
by djc2032
A three-part series demonstrating how to develop an Oracle Call Interface (OCI) custom data source for Ultimate Grid

Research Library

By easing the process of integrating business events into automated...
Read this paper to learn how you can create an intelligent, integrated...
Use these flashcards along with the popular open source integration...
IDC studied the business value and benefits that three JBoss customers...

Discussions

by ThatsAlok on Article "EfTidyNet :- Dotnet Wrapper for Tidy...
by Jon Burchel on Quick C++/CLI - Learn C++/CLI in less than 10...
by David Oden on Article "EfTidyNet :- Dotnet Wrapper for Tidy...
by 黃奕傑 on tip/trick "Detect and Recognize Faces using...
by ThatsAlok on Article "EfTidyNet :- Dotnet Wrapper for Tidy...

All Articles

Sort by Updated

.NET My Services 

2 Jan 2007
Gary J. Kuehn
Highlighting interoperability support provided by C++ and analysis of performance
4 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
Sort by Updated

Applications 

16 Dec 2011
Mardani Dani
Using C to blend Mathematics and Art that will produce a carving
13 Jul 2003
Ralph Arvesen
A port of the famous C-language based game engine to Visual C++ with a .NET managed heads-up display.
24 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.
Sort by Updated

C++/CLI 

26 Jan 2012
paladin_t
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#.
1 Apr 2009
Bala Rajesh
Managed C++ wrapper to a native C++ library
5 Jul 2008
Nish Sivakumar
This article walks through the implementation of a C++/CLI class from a disposable C# base.
24 Apr 2008
Gene OK
This is an update to Don Kackman's UxTheme component originally written for Visual Studio 2003
8 Mar 2008
Nish Sivakumar
The performance of STL/CLR sequence containers are compared with that of corresponding BCL generic collection classes
25 Oct 2007
nico.pyright
The purpose of this article is to present some utilization of configuration files in a Windows Forms application with C++/CLI.
27 Jul 2007
Tomas Petricek
CLinq project is a library that makes it possible to use LINQ technologies from the C++/CLI language
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
21 Dec 2006
Antti Keskinen
Second part of the series: leaving Platform SDK behind, and MDI Forms.
11 Oct 2006
Gammill
A .NET control meant to accomplish a task similar to MFC’s CRectTacker().
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.
21 Mar 2006
nico.pyright
Thsi article explains how to create an RSS reader user control.
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.
5 Oct 2005
esob
A full blown sample of keeping data secret in memory or on a file.
27 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
11 May 2005
Nish Sivakumar
Looks at the syntax for the declaration and use of properties in C++/CLI
7 Dec 2004
James T. Johnson, Nish Sivakumar
Introduces generics and compares it with templates
29 Nov 2004
Nish Sivakumar
Article on the usage and dangers of pinning pointers
28 Nov 2004
Nish Sivakumar
Tries to explain the syntax, usage and behavior of interior pointers in C++/CLI
17 Nov 2004
Pat26
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.
23 Aug 2004
Antti Keskinen
A multi-part article, introducing a C++-background person into the world of C++/CLI.
12 Aug 2004
Nish Sivakumar
Looks at how deterministic destruction is possible with C++/CLI
11 Aug 2004
Nish Sivakumar
The article exposes the new array syntax available in C++/CLI for the declaration and use of CLI arrays
22 Jun 2004
Nish Sivakumar
Takes a look at new features like explicit overriding, renamed overriding, multiple overriding and sealing a method
27 Apr 2004
Nish Sivakumar
A brief look at the new C++/CLI syntax and how it improves over the old MC++ syntax
Sort by Updated

COM Interop 

15 Nov 2011
Mitendra Anand
How to implement COM connection point callback for a C++\CLI client.
28 Jan 2008
Yonghwi Kwon
An article on how to retrieve information from a COM object to determine COM DLL filename.
25 Feb 2005
Cd-MaN
An article on how to access data from fixed size record data from the .NET environment
14 Jul 2003
leppie
.NET wrapper for libbz2, written in MC++
10 May 2002
Nish Sivakumar
An MC++ class that uses IJW to invoke the IShellLink interface
17 Oct 2001
Igor Chouvalov
A demoonstration of COM Interop, showing early and late binding to a COM component
Sort by Updated

Controls 

30 Jan 2007
nirvansk815
A custom listbox control to help manipulate data
Sort by Updated

General 

24 Jul 2014
Meena Chockalingam
Understanding LIST_ENTRY lists and CONTAINING_RECORD macro which are used in Windows Kernel
22 May 2014
djc2032
A three-part series demonstrating how to develop an Oracle Call Interface (OCI) custom data source for Ultimate Grid
22 May 2014
djc2032
A three-part series demonstrating how to develop an Oracle Call Interface (OCI) custom data source for Ultimate Grid
7 Apr 2014
Alain DOS REIS
A first approach to mixing .NET and native code, using the C++/CLI gateway.
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
1 May 2013
Nicolas Dorier
My journey to migrate pInvoke code to C++/CLI
5 Sep 2012
interopper
How to make a thin-as-possible .NET IEnumerable-wrapper around MFC list classes.
4 May 2011
cfrost
How to use a modeless WinForm from an unmanaged application including callback functionality
31 Mar 2011
Yanick Salzmann
An article on how Try/Catch/Throw are interpreted by the Microsoft Compiler
6 Jan 2011
Espen Harlinn
Demonstrates how easy it is to combine ACE and .NET using C++ CLI mixed mode
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.
22 Jul 2009
logicchild
An article about the boundary of unmanged native and managed code
26 Mar 2009
ManelF
This project shows with an example how to combine Managed C++, Managed DirectX and Windows Forms.
6 May 2008
dmihailescu
Retrieve the physical Hard drive ID and other info using low level APIs like DeviceIOControl
14 Feb 2008
ETA
An article on using the USB Human Interface Device api for reading a wired PS3 controller including motion.
12 Sep 2007
Vivek Ragunathan
Get to know the basics of the ultimate language of the .NET platform
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.
10 Jun 2007
Ionescu Marius
A simple calculator based on inheritance class
12 Mar 2007
Giuseppe Pischedda
Load JPEG images from DLL with LoadResource in Managed C++
7 Feb 2007
kbsbng
Sudoku solver using a backtracking algorithm
5 Feb 2007
Antonio Pedro Dinis
Class Library (DLL) to automate Excel in C++
29 Jan 2007
dmihailescu
How to get the calling module that invoked your function as an entry point.
27 Dec 2006
Giuseppe Pischedda
Whidbey style with ProfessionalColorTable class
18 Oct 2006
LeathurBoy
How to use Windows Forms in a Win32 application using Managed C++
13 Sep 2006
FERNANDO PAREDES ARNEDO
ASCII based encoder. Clear, encoded and key text allows all printable characters
28 Jul 2006
Boby Thomas P
Brief description on remote debugging using GDB, DDD and GDBserver
27 Jul 2006
ZhengPing Wang
GUID Generator based on SHA1
25 Jul 2006
Nimesha Ranasinghe
Detect motion using any webcam
17 Jul 2006
Nimesha Ranasinghe
Alert GMail user when the mails come
9 Jul 2006
dizzybuzy
Dynamic Stack by using Linked list concept
2 Jun 2006
Jun Du
An article on how to use unmanaged C++ classes exported from pre-built libraries (DLLs) with no source code.
2 Feb 2006
Siddhartha Batra
BitmapHandler is a component written in C++ which goes into the basics of reading & creating Bitmaps
17 Jan 2006
R.selvam
This article explains Managed Threads with Windows Forms Controls
24 Nov 2005
Kevin Moore
Modified Microsoft Setup program to install required IE6, MSI 2.0 and .NET.
14 Sep 2005
Elias Bachaalany
This article will teach you MC++ in a direct and experiential manner.
28 Jun 2005
howdyeveryone
another screensaver code, but this one is managed c++ only, no MFC, winipi stuff
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.
21 Mar 2005
TarunNeo
This article shows you how to call managed code from unmanaged code and also the other way round.
3 Mar 2005
Alberto Ferrazzoli
.NET wrapper for ZLib, written in MC++
6 Feb 2005
mshoukry_alkhwarazmi
a class to convert from VC++.NET String* data type to leagcy LPCTSTR
6 Feb 2005
Chris Maunder
The explanations, workarounds, scenarios and the rationale behind the decisions to change the Whidbey C++ compiler.
23 Jan 2005
Gammill
A four line algorithm in MC++ for converting decimals to fractions.
4 Oct 2004
liyang yu
A custom TextBox with input validation written in VC++.NET, also walks you through the steps needed to build your own custom controls
6 Sep 2004
Peter C. Gallati
An article on implementing a DataGrid control bound to nested ArrayLists in a Windows Form
26 Aug 2004
J0ker
Looks like bug in managed c++ with unmanaget template class/struct
1 Jun 2004
Steve Maier
An article on adding memory to events using Managed C++.
18 Feb 2004
Nik Vogiatzis
Allows a developer to use the .NET way of reading binary files.
4 Jan 2004
R.selvam
This article explains how to use Process Class in Managed C++ applications
6 Nov 2003
Jon Shadforth
The easy way to embed a managed resource for use with a component's toolbox bitmap.
6 Oct 2003
Dan Farino
This is a SQL Server 2000 Extended Stored Procedure writted in Managed C++. It allows you to use regular expressions in T-SQL.
1 Sep 2003
Nemanja Trifunovic
A template wrapper that enables deterministic cleanup in .NET environment.
9 Aug 2003
Leon Finker
Encrypts/self-decrypts a file at a time based on password and chosen algorithm
8 Aug 2003
Nish Sivakumar
An introduction to managed exception handling in MC++ programs
7 Aug 2003
Jonathan de Halleux
Add the Lua scripting engine to your .NET applications.
1 Aug 2003
R.selvam
An exception is any error occurring in the program at execution time. Exception handling increases the program reliability.
1 May 2003
zebbedi
Creating a custom wizard to generate managed C++.NET applications with a default form
17 Apr 2003
Nemanja Trifunovic
Some code to help you combine MC++ and STL
18 Mar 2003
ManagedCode
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.
16 Feb 2003
Marc Clifton
Use this class when high precision is required in basic numerical operations.
2 Feb 2003
kero
Convert a delegate to a function pointer to implement callback function, for mixed Managed C++ and unmanaged C++ coding, and for DLL call.
9 Dec 2002
Stoyan Damov
A Draft Implementation of an Idea for .NET Dynamic Software Load Balancing
8 Dec 2002
Nick Parker
Cross Language XML based Web Service Implementation between Managed C++ and C#.
27 Nov 2002
Adrian-Bogdan Andreias
A smart logger that makes use of the new predefined VC++.NET macros.
27 Oct 2002
Stoyan Damov
A (managed C++) library for object pooling in .NET
23 Aug 2002
Nish Sivakumar
Demonstrates and compares the various casting operators available. Also suggests when to use and what to use!
19 Aug 2002
Soliant
Use Managed C++ as your code-behind file for ASP.NET web pages
13 Aug 2002
Bill Ferreira
.NET command line utility, implementing file security through symmetric encryption.
13 Aug 2002
Bill Ferreira
File encryption object using Managed Extensions for C++
12 Aug 2002
Bill Ferreira
Process files based on a file filter and have the filter applied recursively to sub folders
26 Jul 2002
DGoins
This article explains how to create a NT Service also known as a Windows Service using C++ with Managed Extensions.
7 Jul 2002
Nish Sivakumar
An attempt to get a beginner started on Managed C++
26 Jun 2002
Nish Sivakumar
Demonstrates the use of the reader/writer classes as well as the file/directory info classes
24 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.
24 Jun 2002
Nish Sivakumar
Declaring and using managed .NET arrays with MC++
17 Jun 2002
Chris Maunder
A quick introduction to Garbage collection in .NET using Managed C++
12 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
12 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
27 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
25 May 2002
Nish Sivakumar
A basic introduction to serialization using Managed C++
10 Apr 2002
Albert Pascual
How to get the clients IP address using TcpClient in Managed C++
8 Mar 2002
Rama Krishna Vavilala
A wizard to create a Managed C++ class library which is also a MFC regular DLL
1 Dec 2001
Nish Sivakumar
Basic introduction to using OLE DB to insert, update and read records from a database
12 Nov 2001
Nish Sivakumar
Shows how you can use data bound controls with OLE DB
3 Nov 2001
Nish Sivakumar
Shows how to use the Mutex class to limit your app to a single instance using a named mutex
17 Oct 2001
Igor Chouvalov
This Sample demonstrates basic drawing techniques using GDI+ in a Managed C++ application.
15 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.
15 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.
15 Oct 2001
Chris Maunder
An introduction to cross-language inheritence in .NET.
15 Oct 2001
Chris Maunder
An introduction to using scalar and indexed properties in managed C++
15 Oct 2001
Chris Maunder
A quick introduction to using .NET managed reference types in C++
15 Oct 2001
Chris Maunder
A quick introduction to using .NET value types in managed C++
11 Sep 2001
Igor Chouvalov
This article demonstrates the basics of accessing a database and retrieving data from that database usingthe ADO.NET data classes.
Sort by Updated

P/Invoke 

10 Sep 2013
Shmuel Zang
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.
4 Apr 2005
Steeve Morin
How to use your managed class libraries in your unmanaged application, using IJW.
13 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.
3 Jul 2002
Nish Sivakumar
This is further demonstration of MC++ IJW capabilities
2 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.
16 Apr 2002
Albert Pascual
How to open a Serial COM port using Managed C++ and loading unmanaged DLLs
15 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.
Sort by Updated

C++ / MFC - Visual C++ .NET 

6 Sep 2013
ThatsAlok
Free component for parsing HTML, .NET version of EfTidyCom
26 Apr 2007
Guy Vider
Find out if .NET Framework is installed on the machine, before running your .NET code-based program.
14 Feb 2005
Alberto_Martinez
Very addictive game that demonstrates some GDI, sound, and 100% solvable puzzle creation (from all the testing so far).
11 Jul 2004
Nemanja Trifunovic
Another standard feature missing from MSVC++ 7.1
9 Jun 2002
Chen Hao
How to control the dependancy on oleacc.dll in your Visual C++ .NET applications


Advertise | Privacy | Mobile
Web03 | 2.8.140916.1 | Last Updated 20 Sep 2014
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid