#1
  1. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    May 2003
    Posts
    42
    Rep Power
    12

    using *.cfg and *.ini files


    Anybody know how to make your program use these? Either DOS or windows?
  2. #2
  3. Banned ;)
    Devshed Supreme Being (6500+ posts)

    Join Date
    Nov 2001
    Location
    Woodland Hills, Los Angeles County, California, USA
    Posts
    9,643
    Rep Power
    4248
    You can perhaps use GetPrivateProfileString(), GetPrivateProfileStruct(), WritePrivateProfileString() and WritePrivateProfileStruct(). See http://msdn.microsoft.com/library/de...filestring.asp for the documentation. However, you should know that Microsoft provides these functions, only for compatibility with 16 bit windows applications. The new Microsoft standard is to store config information in the registry. If you want to go to the new standards, see this link:
    http://msdn.microsoft.com/library/de..._functions.asp
  4. #3
  5. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    May 2003
    Posts
    42
    Rep Power
    12
    thanks.:)

IMN logo majestic logo threadwatch logo seochat tools logo