Using .ini files
Hi ppl!
I''m creating a little 3D Setup application for an engine and I want to use .ini files to save the Setup data.
So the question is:
How can I use .ini files???
Thanx a lot
Coding... Compiling... Building...What??? No... Not again...
You could either roll your own functions to open and read/write the .ini files. Or you could use the Win32 SDK functions WritePrivateProfile*(), GetPrivateProfile*() if you''re using Windows. Using the SDK functions would be easiest, and they''re simple to use.
~ blackspy
Look up the Windows SDK Registry Funtions:
http://msdn.microsoft.com/library/psdk/winbase/regapi_59mb.htm
Have fun,
Semiel.
http://msdn.microsoft.com/library/psdk/winbase/regapi_59mb.htm
Have fun,
Semiel.
Writing the functions for .ini i/o isn''t that hard... I made a basic one for DOS that understood the POV-Ray inis. You just need to understand the structure of the file well enough
-Chris Bennett ("Insanity" of Dwarfsoft)
Check our site:
http://www.crosswinds.net/~dwarfsoft/
Check out our NPC AI Mailing List :
http://www.egroups.com/group/NPCAI/
made due to popular demand here at GDNet :)
-Chris Bennett ("Insanity" of Dwarfsoft)
Check our site:
http://www.crosswinds.net/~dwarfsoft/
Check out our NPC AI Mailing List :
http://www.egroups.com/group/NPCAI/
made due to popular demand here at GDNet :)
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement