Notifiers make anonymous communication between objects in a system possible. They are also easy to understand, providing a seamless migration as new developers are introduced to a project. This article describes the design and implementation of Notifiers in C++.
Latest C++ & MFC Articles - Page 20
C++ 101—Before using const with your pointers, know its impact on your code!
Review Reference Counting and other useful memory-related patterns.
Learn how to add a button to a server application (a WinForm app with a big Listen button) and have the handler for the click event raise a custom event.
BiSplitter is MFC-compatible class for creating a splitter window that looks like a Microsoft Outlook window.
The article describes a way of creating class objects by naming its classes. This way permits you to create a new class object by calling a function or class method that receives as input parameters pointer to CRuntimeClass object. In general, it shows you how to design a mechanism that creates a user-selected dialog window in its own child thread.
Latest Developer VideosMore...
Latest CodeGuru Developer Columns
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.
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...
Learn how to obtain an outside application's window handle, in order to manipulate that window from inside your program, using either VB.NET or C#.
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.