Discover how to write a component that can be used in a COM+ enviroment.
Latest General Articles
Trace RPC Calls and Notify the COM+ Events to Your Program
Learn about a simple way to understand and implement the COM+ Admin and Instrumentation interfaces.
A Kick-Start to SAX with C++, Part 3
Learn how to implement some basic error handling and perform cleanup operations.
A Kick-Start to SAX with C++, Part 2
Learn how to work around the restriction of using a single handler type at a time.
A Pure C++ Implementation of a COM Smart Pointer
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 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.

Portable Databases
In today's world of mobile apps, it's not an unreasonable expectation to want a database that's small, lightweight, and travels with the app from device to device. Take a quick look at what's available out there, and a few of the pros and cons of each.

Creating Simple Classes and Objects with Visual Basic
Learn how to create your own class and create objects representing that class using Visual Basic.
Working with State Machines in the .NET Framework
Arun Karthick introduces you to the state machine model and shows you how to create a simple working state machine sample using the .NET framework in the C# language.