Pardon me for jumping in this late in the game. I thought I read early on that the objective was to "emulate" the INI file handling like WriteProfileString() does. Now I see it is more like WriteLine() whereby the file needs to be opened, read, written, closed, etc., and now something to remove elements? I know I did not read every word in this thread but I don't recall a change of objective stated anywhere, just creep.
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.