CComPtr wraps any interface pointer and will call AddRef() and Release() properly. You don't need to worry about controlling the lifetime of your interface pointer.
Latest COM+ Articles - Page 2
Owner-Draw Menus with .NET and Managed C++
Learn how to use .NET and Managed C++ to program owner-draw menu items with the fonts and point sizes you want.
Wrapping MFC Objects For Use With .NET Remoting
One drawback to using remoting in a mixed—MFC/.NET—environment is that MFC objects cannot be remoted. Explore this technique for overcoming this limitation.
C++ Tip: Serializing .NET Objects with Managed C++
In this installment of the .NET Tips & Techniques column, learn how to serialize entire objects—as well as selected members—to and from disk using Managed C++ Extensions.
An Overview of Microsoft's Whitehorse
Having enterprise development problems? Discover Whitehorse, a set of modeling tools included in the next release of Visual Studio .NET (code-named Whidbey).
COM+ Automation Using COMAdminCatalog in .NET C#
The COM+ catalog holds all COM+ configuration data. The only way you can access the catalog is through the Component Services administrative tool or through the COMAdmin library. Learn to administer this service easily.
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...

How to use Visual Studio 2012 to Download Images from Websites
Learn how to use a for loop to loop through all of the images found on a web page and save them via the DownloadFile method of the WebClient object.

SOLID Principles in C# - An Overview
SOLID principles form the base for writing good and clean object oriented code in C#. Learn about the S.O.L.I.D principles and explore C# coding samples for each.