Click here to Skip to main content
13,900,697 members


Great Reads

by Jeffrey Walton
Import and export Cryptographic Keys in PKCS#8 and X.509 formats, using Crypto++, C#, and Java.
by Hans Dietrich
XColorSpectrumCtrl displays a color spectrum that allows user selection, and provides APIs for color based on RGB and HSL color models.
by Hans Dietrich
This series of articles is a step-by-step guide to reading files stored in your program's resources. Along the way I will present some non-MFC classes to assist you in reading text, binary, zip, and even encrypted files that have been compiled into your program as resources.
by Tim Smith
Color picker control for WTL applications including optional support for XP themes

Latest Articles

by .dan.g.
A hierarchical task manager with native XML support for custom reporting
by Palavos
An article about Huo Chess, a chess program in C++ and C# that attempts to be smaller in size than the Commodore-era Microchess
by libbyliugang
A splitter control for dialog can auto change the linked window's position
by Alexandru Matei
Shows an alternative to GetCharABCWidths and GetCharABCWidthsFloat

All Articles

Sort by Title


2 Nov 2010
Daniel Ranger
Native C++ implementation of the .NET Asynchronous Design Pattern using Windows I/O Completion Ports
5 Mar 2007
A tool for browsing public and private members in any running .NET application (and a generic InvokeRemote method that wraps the code injection).
15 Nov 2004
Hugo Wetterberg
A new(?) approach to scripting in .NET applications.
27 Sep 2010
This article provides a macro + template solution to support .NET-like Reflection for enums such as ToString, IsDefined, Parse, GetValues, GetNames.
18 Apr 2012
Ivan Shcherbakov
The article describes 10 time-saving debugging techniques available in Visual Studio.
8 Feb 2010
Ozgur Ozcitak
An article explaning how to create a user control for 2D shape drawing with OpenGL
20 Oct 2007
Chesnokov Yuriy
This article demonstrates the use of 2D Fast wavelet transform for image processing
20 May 2008
Chesnokov Yuriy
The article demonstrates a 2D vector wrapper, optimized with SSE intrinsics, for math operations with floating point precision.
8 May 2003
SafeArray Wrapper to simplify and speed up 2D CComSafeArray
7 Jul 2005
Collection of Q&A from VC++ forum between 10 Dec 2004 to 23 Jan 2005.
31 Jul 2005
Collection of Q&A from VC++ forum between 25 April 2005 to 8 June 2005
25 Jul 2010
Collection of Q&A from VC++ forum
15 Jul 2011
Collection of Q&A from VC++ forum
19 Dec 2007
Clay Breshears
By following these rules, you will have more success in writing the best and most efficient threaded implementation of your applications.
27 Aug 2008
Tries to solve the queen problem using backtracking
21 Jun 2007
Jonathan [Darka]
Setting up a Microsoft Symbol Server
18 Apr 2013
A 3D Game Based on Ogre, ODE, 3D Max, CEGUI and so on.
18 Jul 2009
Article touching simple issues like property, method and event and using it in .NET applications
29 Jul 2009
This is an article directed at those beginners who might benefit from understanding pointers
25 Jul 2009
An article that steps through some essential C++ concepts.
22 Feb 2010
Aric Wang
The article will give you an idea on how to design a source filter.The source filter creates samples and outputs it from its output pin.
7 May 2008
A very simple C++ source code showing how to create an interactive 2D graphical blobs editor, using the CImg library.
23 Feb 2007
I propose a simple version of a Breakout (or Arkanoid) game in few C++ lines.
20 Dec 2008
Antonio Perrone
A C++ class to register and start device drivers.
17 May 2008
An STL based C++ utility class to parse structured config files.
23 Jun 2014
Give a C++ application its own web page
22 May 2008
Alex C. Punnen
The Command Pattern and Chain of Responsibility for implementing a plug-in Thread Pool library.
12 Nov 2010
This article is about detouring functions in a more safe C++ programming style.
16 Oct 2004
Rob Manderson
Synchronising thread completion the easy way
18 Aug 2004
An introduction to XML Data Binding, and a review of a number of leading products.
22 Dec 2002
Philipos Sakellaropoulos
A COM component written in C++ that offers functions for multiple parallel downloads, Internet cache access, URL and path resolving.
10 Nov 2005
Timothy the lion
A command line calculator I am writing to help me teach a 9 year old to code
21 Jun 2006
David Marcionek
This article is intended to help you get up to speed quickly with developing an ActiveX control. It will show you the basic concepts you need to know about ActiveX, such as methods, properties, and events, and how to communicate between an ActiveX control and a web page.
25 May 2008
James Duy Trinh (VietDoor)
A cool skin GUI with shadow border; display images (supports many formats) on dialogs, buttons, listboxes.
30 Oct 2006
Joaquín M López Muñoz
A block allocator for use with STL containers that greatly improves speed in programs doing massive data insertions and extractions.
21 May 2007
Michael Dunn
Busted features? APIs failing? Use this guide to get your IE plugin up and running again in protected mode!
14 Apr 2009
Jerry Jiang
A fast version of Conway's Game of Life with thread and DirectX draw
4 Jan 2009
Inject a File Switch Tabbar to Source Insight, which like uEdit or Visual Studio
27 Jul 2009
Nish Nishant
The article shows how to interop between a WCF service and a WWS client, and also how to rewrite the WCF service in WWS retaining compatibility with existing WCF clients.
25 May 2007
Nicolas Bonamy
A grid to display and edit properties of objects (as in Visual Studio)
28 Mar 2008
A generic tracing library implementation.
6 Jul 2009
Leandro T C Melo
A generic standalone STL-like implementation of a hash table that uses either linear probing or double hashing as the collision resolution mechanism.
14 Feb 2008
pradeep shivadasan
timer based task scheduler
26 Feb 2008
This control provides hyperlink function for the list control with exact positioning for the cursor.
18 Oct 2007
João Paulo Figueira
Implementing a Pocket Outlook-like list-based form, with a few extras.
12 May 2007
This small tool shows some real-time system information, such as network speed, CPU utilization, time period and so on on the screen .
24 Apr 2008
Gene OK
This is an update to Don Kackman's UxTheme component originally written for Visual Studio 2003
23 Feb 2006
Nish Nishant
DimmerDialog is a .NET class that shows a modal dialog which grays out the rest of the background, just like the Windows XP Shutdown dialog. This can be used when your application needs to show a very important message box or form that requires immediate user attention.
18 Aug 2007
This article explores a more complete method of injecting a DLL into another process using the CreateRemoteThread approach.
30 Nov 1999
Xiao Wu Guang
A multicolumn, customizable, editable combobox
23 Jan 2009
Rachel Mant
This is what happened when I needed a file extension comparison algorithm, this should save you quite some time thinking one up.
5 Dec 2007
Demostration of a multi-threaded HTTP proxy server implemented with WinSock on Windows.
28 May 2006
A Naive Bayesian Classifier in C#
14 Mar 2008
billconan, kavinguy
This article describes the implementation of a neural network with CUDA.
23 Feb 2009
Achilleas Margaritis
A new approach to memory management that solves the issues with shared_ptrs
6 Oct 2009
John Hilton
Simple yet comprehensive viewing code for OpenGL and Direct3D.
29 Nov 2006
This article intruduce you a new software encryption method.
11 Jul 2006
Shaun Harrington
Combines images from the 'My Pictures' folder with 'on-the-fly' generated calendar grids, and sets the desktop background to the resulting image.
7 Dec 2006
A Pong clone, written using VC++/Visual Studio 2005.
11 Dec 2010
An article that desribes some essentials to help learn the DirectX technology.
5 Jun 2009
Connecting and disconnecting network drives
28 Jul 2005
Nish Nishant
Why the author thinks that C++/CLI has its own unique role to play as a first-class .NET programming language
17 Jan 2010
Aric Wang
This is a class derived from CWinThread class. It is used to record and play sound in the specific thread.
30 Jan 2009
An article to help explain how C/C++ use pointers.
11 Feb 2008
João Paulo Figueira
Capture your Windows Mobile device screen via ActiveSync or WMDC.
7 Dec 2008
mutex wrapper class
8 Aug 2007
Andre Ladeira
A class to create a NT service with a few lines of code
12 Dec 2008
Stefan Kuhr
Creating a self-extracting file that allows to start multiple setups
27 Sep 2009
Carlos Jiménez de Parga
An introduction to the Visual C++ CORBA development
7 Jan 2008
Jarl Ostensen
A finite field EC and simple ECC scheme in C++ to help understand the principles.
9 Aug 2006
Shaun Harrington
A simple class to convert numerical values into strings, with localized thousands seperators.
6 Nov 2008
auralius manurung
An article on how to build a simple HTTP proxy server
28 Feb 2008
David Saelman
How to minimize or maximize an SDI application without any flash artifacts.
9 Sep 2008
Introducing a simple method to display a transparent PNG file.
7 Feb 2008
2D basic OpenGL Primitives Lines, Points, Triangles, Quads and Polygons
30 Jun 2010
A follow up to the simple pie chart control article which will detail the new improvements
1 Sep 2007
How to delete/modify a system file which is protected by Windows without being detected by the OS protection.
11 Dec 2005
Sreekanth Muralidharan
A simple task enumerator for Windows Mobile SmartPhones.
1 Jul 2010
Md. Mazharul Islam Khan
Step by step XPCOM creation and implementation in C++.
11 Apr 2005
Uwe Keim
Introduced a class that simplifies Windows Impersonation in C#.
1 May 2007
Uwe Keim
Introducing a library to detect content based on file content (and extension)
26 Mar 2005
Uwe Keim
A class with multiple routines for quick and easy compression and decompression of various types of data.
28 Oct 2006
Ma Xi
Using templates to sovle problems in the Observer Pattern.
12 Apr 2007
Bony Chen
A wrapper class of worker thread
25 Jan 2008
Tokenize and access string contents using a format mask
24 Jun 2008
A XP bar with GDI+ for MFC, like the Apple dockbar.
21 Mar 2006
Introduces an open source UDP-based data transfer library.
16 Jul 2008
Darren Sessions
With this class, you can add a PNG image to your button and automatically get a highlighted and grayscale version.
16 Sep 2009
Jonathan Enders
A user interface infrastructure quickly attachable to your application, accompanied by a simple text-based platform-independent user interface that builds on the infrastucture.
15 Jul 2009
Jeffrey Walton, Jordan Walters
A UTF-16 class derived from CStdioFile for reading and writing Unicode files
19 Jan 2009
A way to avoid unnecessary recompiles when using RCSTamp to update the .RC file.
9 Jul 2007
Bony Chen
Share information betwwen processes using Memory-Mapped File
21 Jun 2009
A WTL Hunspell-checked edit control.
23 May 2007
Basic understanding of Pro*C
29 Mar 2007
Mahfuzur Rahman.
What is the useful of CObject , CRuntimeClass and related macros.
5 Oct 2006
Sumit Jain
A tool to enumerate all access control list entries
12 Apr 2004
Lonnie McCullough
A set of macros and classes that allow declarative access to registry settings.
2 Jul 2007
Using this dll anyone can access 3 databases i.e Oracle,SQLServer,Access
21 Dec 2005
yann bertaud
How to get the song list, song information from ITunes using .NET.
3 Jul 2007
Steve Abraham
This article is an introduction to the SQL Server Virtual Device Interface and how to access it via any .NET language
1 Nov 2011
Renato Tegon Forti
A set of class to access and manipulate MySQL database using MySQL C API
18 May 2009
Renato Tegon Forti
A set of class to access and manipule PostgreSql data base using libpq - C Library.
16 Jun 2008
Solving old ACM problems
5 May 2006
Jim Crafton
An article on adding action support to your VCF application.
28 Sep 2005
Peter Tewkesbury
This article shows how to write an ActiveSync file filter in C#.
29 May 2006
Victor Velepucha
Example for read Magnetic Strip Reader using ActiveX, COM Object for KioskMsr reader
11 Sep 2003
Zhang YanFeng
This article will show you how to make MDI window of WTL into ATL control by using a real world example.
2 Nov 2004
Alain Rist
CZoomScrollImpl extends WTL CScrollImpl to allow continuous zooming.
27 May 2003
Catalin Stavaru
Finally, an add-in that increments build number for VC++.NET !
15 Apr 2005
This class will take any valid XML and parse out the nodes with or without the attributes into a Lithium Tree Layout control for viewing.
24 Jul 2008
Simon Parmenter
A VS2008 C++ project to add an icon resource in a file to an executable.
31 Dec 2007
Douglas Day
This article describes the steps to add automatic update capabilities to your application quickly and easily using the DDay.Update library.
2 Jul 2014
Mohammed El-Afifi
Given an existing win32 application, how to provide COM automation capability to it?
20 Jun 2007
Stefan Kuhr
Adding Aero Glass to Windows applications while keeping them backwards-compatible with legacy Windows versions
9 Feb 2005
How to use the Adobe Acrobat 7 Reader ActiveX control inside a C++ application.
13 Jul 2009
A template class for multi-dimensional regions for any coordinate type.
4 Jun 2007
Miroslav Sommer
An article on how to use the Rating control from the AJAX Control Toolkit and create CSS and images to display it as a gauge or thermometer.
13 Jun 2008
Noel Frankinet
A virtual WTL ListView control on an SQLite3 table or view.
10 Aug 2007
This article describes a timestamp class that can be used as an alternative to the standard C date time functions.
30 Dec 2007
Emilio Garavaglia
Modular generic programming containers.
8 Mar 2008
Jeffrey Walton
An Analysis Demonstrating the PE Checksum is an Additive Checksum based on RFC 1071
9 Nov 2008
Joshua Tully
A look into what goes into the area of preventing reverse engineering, and gives developers some functions and ideas about preventing reversing engineering of their programs.
22 Dec 2007
An apple style docking bar implemented by eGui lib
25 Aug 2011
An asynchronous HTTP download class for C++
28 Jan 2006
Rama Krishna Vavilala
This article describes an asynchronous pluggable protocol implementation to support the data: protocol, as described in RFC 2397, in Internet Explorer.
14 Jun 2004
Neville Dastur
A COM component that implements interprocess communication, and illustrates firing events to a COM container such as Visual Basic
6 Nov 2005
This article describes an easy to use event class written in standard C++.
23 Dec 2007
Daniel Cohen Gindi
I have created classes to wrap the SQLite3 library, to remove many headaches...
5 Mar 2008
Mingliang Zhu
An article showing how to easily but effectively extract all frames from a video as bitmaps
14 Sep 2005
Dr. Goulu
DicoLib stores words in lists of anagrams indexed by their length and a 26 bits bitset which describe which letters are present in the words. This makes it extremely fast to search for words which contain specified letters, and to search for words which are "close" for spell checking appli
1 Sep 2004
Andrea Cacciarru
How to implement a class that derives from a Xstream class and how to serialize from and to it.
26 Mar 2005
Uwe Keim
An article about an enhanced wrapper around the popular logging framework LOG4NET.
21 Feb 2005
This shows how to use a "working" progress bar like Windows XP does.
3 Sep 2008
An extendable report editor. You can simply add your own controls without recompiling the program or writing annoying plug-ins.
23 Jul 2008
The MFC CListCtrl does not allow editing labels for all columns. This extended class implements ways to specify column editors, row, cell, and column colors etc.
16 Jan 2013
Ajay Vijayvargiya
Covering the nitty-gritties of C++ templates.
1 Jul 2012
Ajay Vijayvargiya
Let's dwell deeper into C++ templates!
19 Feb 2008
Kenneth Kasajian
The Service Locator can be used to decouple classes, which improves the overall design and significantly helps with unit testing.
9 Dec 2002
Modesty Zhang
This article presents a practical technique to achieve interface based object implementation by ATL only. This technique implements basic COM concepts about interface while doesn't rely on COM runtime.
12 Mar 2002
Chris Maunder
Herb Sutter has just joined Microsoft as their new Visual C++ .NET community guy. Read about who he is, what he does, and what is happening with our beloved Visual C++.
6 May 2009
An Introduction for how to insert your own custom objects inside a std:::set
21 Feb 2005
Michael Groeger
An introduction to monitoring performance of applications.
5 Aug 2004
A re-usable calculator custom control which works and looks like a hand held calculator, which can be used in any MFC application by simply adding a cpp and a h file to the project (no resource file dependencies).
24 Apr 2008
An MFC picture control to dynamically show pictures in a dialog.
5 Jun 2003
Tony Ioanides
An MS Outlook-style mini-calendar control using WTL
9 Sep 2004
Kenny Moens
Function pointers provide a handy mechanism for 1st order functions but are rather complex in usage. This article gives a wrapper around those function pointers making the use of them easier.
12 May 2005
Ambidextrous Coder
A portable implementation of a templated, STL-compliant math vector class.
8 Oct 2009
Chris Losinger
A simple class to animate the movement of child windows
16 May 2005
How to create a RichEdit control to display animated emoticons like MSN Messenger's.
24 Aug 2008
Steve Katic
3dsMax style rollup control animated in C++/CLI
6 Jun 2008
João Paulo Figueira
How to animate child view transitions on a Windows Mobile WTL application.
29 Jul 2012
A useful skill to get rid of ATL, but do similar flexible architectures by yourself.
27 Aug 2008
The Star Trek game reworked, using a 2D retro look.
6 May 2010
A simple thread pool with minimal dependencies
1 Jun 2003
Bjornar Henden
A WTL Grid mostly aimed for use against databases.
30 Jun 2009
Adam Roderick J
A simple approach to Hook LoadLibrary API with a sample
6 Apr 2008
Jeffrey Walton
Encrypt data using Block Ciphers with Crypto++.
10 Apr 2008
Jeffrey Walton
How to Choose a Crypto++ Pseudo Random Number Generator
21 Jan 2008
Jeffrey Walton
Create and Verify RSA Digital Signatures with Appendix Using Crypto++
17 Jun 2008
Chesnokov Yuriy
The article presents C++ code for estimation of approximate and sample entropies suitable for biological signals analysis
11 May 2009
Hani Gamal Eldeen
.NET controls to be used for development of Arabic applications for smart devices.
20 Jul 2004
Andrew Phillips
How to use overflow checking effectively and avoid some pitfalls.
11 Aug 2004
Nish Nishant
The article exposes the new array syntax available in C++/CLI for the declaration and use of CLI arrays
9 Feb 2005
Yitzhak Gootvilig
A tutorial on adding design time support to ASP.NET custom server control.
7 May 2007
JaeWook Choi
An article on the new approach to utilize Win32 threads in a more intuitive manner.
27 Apr 2009
jason lue
A subtle memory leak problem on CDynamicParameterAccessor on special occasions
28 Jul 2003
Easiest way to add XML persistence to an existing IDispatch based ATL COM object.
21 Aug 2003
Leon Finker
Web Application/Web Service development using ATL Server classes
23 May 2002
Eugene Polonsky
Complete implementation of .NET IDE's snapping windows in ATL/WTL
5 Mar 2009
Ernest Laurentin
Full-fledged ATL Windowless ActiveX Container. Ideal for hosting Windows Media Player, Transparent Flash and Silverlight Animations.
19 Jun 2002
Leon Finker
ATL7 and Attributes description and sample usage
24 Feb 2006
ATL/WTL version of Samuel Gonzalo's CPath1.2
10 Feb 2009
A console program that captures audio and saves it.
24 Mar 2009
Jeffrey Walton
Perform authenticated encryption with Crypto++.
24 Apr 2012
Andy Bantly
C++ class to authenticate an SMTP server connection
20 Nov 2002
Joshua Jensen
Provides support for customized global environment build settings on a per solution basis
27 Feb 2004
Auto Value is an implementation of variables having undefined state
29 Oct 2007
Developing Auto-Task Tool for Web Game Travian
16 Feb 2008
Neeraj Sathe
This article talks about the usage of STL's auto_ptr class
7 May 2005
Beau Skinner
Automatic build version awareness, incrementing, and archiving.
14 Apr 2008
Alexandre GRANVAUD
Automate your data classes initialization from an XML file.
27 Jan 2005
Mechanism to automatically dock/anchor your controls in a window or dialog.
18 Mar 2013
Automatic thread synchronization classes which throw exceptions instead of error codes.
15 May 2007
This is an addin for visual studio 2003 and 2005, it launches applications which your defined automatically when starting visual studio
31 Dec 2008
David Crow
How to find the average of a set of numbers.
4 Jan 2006
Dimiter Georgiev
Using the HeightBalancedTree C++ template as an array or as a sorted sequence
20 May 2008
Chesnokov Yuriy
This article demonstrates a backpropagation artificial neural network console application with validation and test sets for performance estimation using uneven distribution metrics.
10 May 2005
A Code 39 barcode control with printing and saving support.
17 Jul 2007
Dennis Kuppens
This project presents a bare bones BOOTP daemon/server. Bootp is a protocol to assign an IP address to a device via its MAC address.
6 Jan 2008
Mladen Janković
Base64 coding/decoding for native C++ and customized coding for C++/CLI.
1 Aug 2009
Finance, contacts, notes organizer
6 Aug 2006
Yap Chun Wei
A Class to Read and Write to Microsoft Excel

Advertise | Privacy | Cookies | Terms of Service
Web03 | 2.8.190306.1 | Last Updated 24 Mar 2019
Copyright © CodeProject, 1999-2019
All Rights Reserved.
Layout: fixed | fluid