class CINIFile
Remarks

The CINIFile class allows you to read and write INI configuration files. It, however does not currently support reading or writing of comments in an INI file. When reading, it will discard them.

The class stores your Keys and Values in its buffers until you tell it to write to an INI file. Then it will save the data you have given it in an INI format to the file. When you read an INI file the internal buffers are flushed and new data is retrieved from the file.

When an error occurs in the code, a TRACE0 call will be made and debugging information will be printed to your output window. Remember that when you compile a release version of your application, the TRACE0 calls will be dropped.

Here is the format of an INI file:

[Key]
ValueName=ValueData


Values (in which you store data) are stored under keys. Keys are for 'sectioning'.

Requirements
Header: INIFile.h
MFC
in your project
CConversion class

See Also

Class Members