These days I wouldn't bother using WritePrivateProfileString and similar since those are Windows API functions. You can use HasExtState to check if a state exists, and if it doesn't, then set up defaults to be used.
--------------------------------------------- I used to have a picture of an E30 here.