MoI's ini format
All  1-3  4-5

Previous
Next
 From:  Michael Gibson
4062.4 In reply to 4062.3 
Hi Burr, there are Windows API calls you can use for reading stuff from .ini files, see GetPrivateProfileString:
http://msdn.microsoft.com/en-us/library/ms724353(VS.85).aspx

But yeah for customizable UI stuff that would more likely be in an XML file. Actually the layout of the main window is already stored in an XML file.

- Michael
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
 From:  Jim (JIMCRAFTON)
4062.5 In reply to 4062.1 
Burr,
As a rule, unless there's a true burning need to have data that is hierarchical (i.e. some sort of parent child relationship), then xml is almost always overkill. Ini files are dead simple to parse, there are dozens of readers for them (in terms of code libraries) in most of the major programming languages, and they are easy to read and edit by hand. XML pretty much fails at all of those things. Since ini is just a text file it's also portable to pretty much anywhere.
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged
 

Reply to All Reply to All

 

 
 
Show messages: All  1-3  4-5