Hi,
Possibly this question is very simple, but im looking for the best way to read settings from a ini file. I can do it by put each setting on a new line, but i want to read a ini file which contains sections, Example :
[smtp]
Server = User = test
Password = test
[database]
address = C:\database.mdb
How would i search for the specific section of the ini file, and then read the lines only for that section?
- Antithott
Possibly this question is very simple, but im looking for the best way to read settings from a ini file. I can do it by put each setting on a new line, but i want to read a ini file which contains sections, Example :
[smtp]
Server = User = test
Password = test
[database]
address = C:\database.mdb
How would i search for the specific section of the ini file, and then read the lines only for that section?
- Antithott