You may read/write
INI
files using
Windows API
functions like
WritePrivateProfileString
.
You may find such functions listed at the bottom of
this MSDN page[
^].
As the documentation page remarks:
These functions are provided only for compatibility with 16-bit versions of Windows. New applications should use the registry.