Gotta find the page, I have the documentation locally :P Basically I assumed that mIRC uses the Windows function WritePrivateProfileString which is the only Windows function I know of that writes to an ini (note that this function is obsolete and the documentation says don't use ini's, use the registry). The information is really more how to write to ini's using C/C++ than in general, but if you're interested, http://msdn.microsoft.com/library/defaul...ofilestring.asp