Skip to content

A very simple IniFile read/write class, written by C++/MFC

License

Notifications You must be signed in to change notification settings

Hale-Lee/IniFile

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

IniFile

It's a very simple way to access *.ini File, the source code is written by C++/MFC

usage:

// structor/constructor

CIniFile(LPCTSTR szFileName);
virtual ~CIniFile();

// Open/Close file.

BOOL Open(BOOL isReadOnly = FALSE);

BOOL Close();

// read/write method

int GetKeyVal(CString szSectionName, CString szKeyName, int ipDefault);

CString GetKeyVal(CString szSectionName, CString szKeyName, LPCTSTR szDefault);

BOOL WriteValue(LPCTSTR szSection, LPCTSTR szItem, LPCTSTR szValue, LPCTSTR szComment = NULL);

About

A very simple IniFile read/write class, written by C++/MFC

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages