The MASM Forum Archive 2004 to 2012

General Forums => The Campus => Topic started by: ragdog on June 10, 2008, 06:14:36 PM

Title: delete profilestring
Post by: ragdog on June 10, 2008, 06:14:36 PM
hi
how I can delete a complete KeyName in a ini ?

example ;

[Menu1]
Entry1=String1
Entry2=String2
Entry3=String3
Entry4=String4


have your an idea or example?

thanks
ragdog
Title: Re: delete profilestring
Post by: donkey on June 10, 2008, 07:17:25 PM
You can delete all the keys within a section using WritePrivateProfileSection. (http://msdn.microsoft.com/en-us/library/ms725500(VS.85).aspx)