Skip to main content
GameDev.net gamedev.net
๐Ÿ”’ Locked

windows INI Files

Started by Etwinox Nov 13, 2001 at 1:55 PM 3 replies 500+ views
Original Post
Etwinox
Etwinox
How do I parse windows INI style files? (the Functions/Methods/etc) Note: Not "the" windows files, the config format. I''m guessing windows would have functions for parsing them...
DarkAvenger
DarkAvenger
Try these on MSDN.

GetPrivateProfileInt
GetPrivateProfileSection
GetPrivateProfileSectionNames
GetPrivateProfileString
GetPrivateProfileStruct
GetProfileInt
GetProfileSection
GetProfileString
WritePrivateProfileSection
WritePrivateProfileString
WritePrivateProfileStruct
WriteProfileSection
WriteProfileString
Etwinox
Etwinox
These only work with the registry/win.ini file, how do I read config files?
Etwinox
Etwinox
Ah, shoot...duh.
Sorry for doing that, I use the private ones to read/write to and from files right?

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.