In order to read a .INI file, you can use the GetPrivateProfileString API call. Refer to the following documentation.
http://msdn.microsoft.com/library/de...filestring.asp
You can use the WritePrivateProfileString to create or update an .INI file.
Hope this helps.