| The only way to do it is to rewrite the section, as you've found out. Either calling WritePrivateProfileString in a loop (to null the old and then write then new) or calling WritePrivateProfileSection after you've manually rebuilt the Section in a string. |