CIniEx DLL for non-MFC users






1.07/5 (15 votes)
Jan 27, 2003

45730

384
CIniEx without MFC.
Introduction
CIniEx class needs MFC. I wanted to use it in my own non-MFC project. I’ve built the class in a dll with MFC linked statically. So you haven’t to include the MFC dll in your project to use it.
I’ve include only some implementations of CIniEx functions, the most useful only.
Declarations:
extern "C" __declspec(dllimport)void IniGetValue(char * section, char * key, char * resul);
extern "C" __declspec(dllimport)void IniSetValue(char * section, char * key, char * value);
extern "C" __declspec(dllimport)void IniOpen(char * filename, bool writewhenchange = true, bool createifnotexist = true, bool nocasesensitive = true, bool makebackup = false);
extern "C" __declspec(dllimport)void IniWrite(bool makebackup = false);
extern "C" __declspec(dllimport)void IniResetContent();