CLastError
Convert Win32 error codes into readable messages with CLastError, an MFC helper class using FormatMessage and AfxMessageBox.
Convert Win32 error codes into readable messages with CLastError, an MFC helper class using FormatMessage and AfxMessageBox.
An updated CSortArray template for MFC, adding binary search and context pointers for sorting and searching structured records.
Sort MFC CArray elements with a CSortArray template that wraps qsort, including a custom comparison function and a complete C++ example.
ODBC connection string examples for SQL Server using either a username and password or Windows authentication with a trusted connection.
Implement a singleton document/view window in an MFC MDI application by activating the existing view instead of opening duplicate windows.
Add reusable dialogs and images to Visual Studio .NET 2003’s Add Resource dialog by copying them into the mfc.rct resource template file.