I'm guessing the confusion is the fact this is a mIRC related forum and has NOTHING to do with C/C++, but I guess we shouldnt always rely on the user to know what the forum is for.

Also, google.com search for a C/C++ INI File procedure.

Eamonn.