Click here to Skip to main content
15,885,920 members
Articles / Desktop Programming / MFC

A Simple Class to Read and Write INI Files

Rate me:
Please Sign up or sign in to vote.
3.08/5 (16 votes)
30 Nov 2006CPOL1 min read 108K   4.8K   43  
This class is a thin MFC wrapper around Win32 API for reading/writing INI files.
//{{NO_DEPENDENCIES}}
// Microsoft Visual C++ generated include file.
// Used by IniFileClass.rc
//
#define IDS_HELLO                       1

// Next default values for new objects
// 
#ifdef APSTUDIO_INVOKED
#ifndef APSTUDIO_READONLY_SYMBOLS
#define _APS_NEXT_RESOURCE_VALUE        101
#define _APS_NEXT_COMMAND_VALUE         40001
#define _APS_NEXT_CONTROL_VALUE         1000
#define _APS_NEXT_SYMED_VALUE           101
#endif
#endif

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Systems Engineer Prolitech
United States United States
doing business as Prolitech
Redwood City, CA

blog (mostly technical)
http://prolifictec.com/blog/index.html

Comments and Discussions