GetPrivateProfileString function

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • thiago777
    New Member
    • May 2007
    • 89

    #1

    GetPrivateProfileString function

    Is there a better way of accomplishing this ?: http://msdn2.microsoft.com/en-us/library/ms724353.aspx

    I have some program settings which should be easily editable by the user (really like in a text file), but dont want to use such an old function like GetPrivateProfi leString..

    maybe an XML file would be the best solution ?
    thanks
  • Plater
    Recognized Expert Expert
    • Apr 2007
    • 7872

    #2
    vs2005 projects have a properties page that are used for just this.

    You can have all kinds of things listed in there.
    strings ,ints, colors whatever.
    You can find it in your solution explorer.
    You can define them as "user" or "applicatio n" types, where "user" types will check for different ones depending on the user (I believe)

    Comment

    Working...