Win32 has a built-in INI file API, but writing cross-platform code is difficult because these functions aren't available on Linux.
Latest INI Files Articles
Based on MMF, plus the pre-allocated buffer and section header map technology, this should be the ultimate solution to the mega-bytes-level INI file usage. Both Unicode and ANSI versions are available.
CDataFile is a C++ class that aids you in reading and writing to configuration files. It is generally compatible with standard Windows .ini files, supports multiline comments, does not rely on any windows or MFC calls, and is easily portable to Linux.
A "simple to use" class for creating and using INI files.
The class CPrivateProfile is a wrapper class around the Win32 functions GetPrivateProfileString and GetPrivateProfileInt. It enables an easy way to traverse and read INI files.
Memory-mapped file-like solution for quicker data access using INI files
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.
LINQ is not only for database access; it’s useful in all manner of scenarios. Read this quick refresher to learn more.
Discover how versatile and easy User Controls are to develop with VB.
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.