Using shared_ptr instead of raw pointers helps you avoid the common pitfalls associated with raw pointers but in some cases, its performance isn't satisfactory. Unique_ptr is a new C++0x smart pointer that is compact, fast and fully compatible with the standard library. Find out how to use unique_ptr to make your code safer without sacrificing performance.
Latest Toolbar Articles
Tip: Painting the CToolbar's Parent Window (AfxControlBar)
Learn how to paint the background color (paint entire window) of CToolbarby using the "AfxControBar".
Tab Bar Control
Learn about the Tab Bar control class that is based on CControlBar and the Windows common tab control; it also uses my wrapper class CTabBarCtrl.
Locking Rebars and Toolbars
Learn how to lock the toolbars (within a rebar or not) like Windows Explorer under Windows 2000/XP.
Make a Customized ToolBar Dialog Work in MFC (VC6)
Simply by adding some code to your MFC frame windows, you can make your toolbar customize dialog works.
Simple IE-like Menu and Toolbar
A simple interface based on Internet Explorer that implements features introduced in Windows XP and remains compatible with all OS versions since Windows 98. Includes support for alpha channel images under Windows XP, both 3D and flat (XP) style, and rebar menu with full mouse and keyboard support. (The demo project and source code were updated.)
Latest Developer Videos
More...Latest CodeGuru Developer Columns
MFC Integration with the Windows Transactional File System (TxF)
The Transactional File System (TxF), which allows access to an NTFS file system to be conducted in a transacted manner through extensions to the Windows SDK API. MFC 10, has been extended to support TxF and related technologies. This support allows existing MFC applications to be easily extended to support kernel transactions.
.NET Framework: Collections and Generics
The original release of the .NET Framework included collections as .NET was introduced to the Microsoft programming world. The .NET Framework 2.0 introduced generics to complement the System.Collections namespace and provide a more efficient and well performing option. Read on to learn more...

Working with the Clipboard in VB.NET and C#
It might be strange to find an entire article dedicated to the Clipboard object but the sad fact is people still do not know what the Clipboard object is, how to differentiate between copied information, and how to use it. Hannes du Preez demonstrates its proper use, to eliminate any remaining confusion.

Learn About Asynchronous HTTP Modules and HTTP Handlers in Asp.Net 4.5
One of the good things about Asp.Net 4.5 is that you can introduce asynchronous processing in web applications that you develop with little effort. This article takes you through the asynchronous HTTP Modules and Handlers in Asp.Net 4.5.


