Click here to Skip to main content
65,938 articles
CodeProject is changing. Read more.
Articles
(untagged)

CIniEx DLL for non-MFC users

0.00/5 (No votes)
26 Jan 2003 1  
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();

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here