Ini file iterator fails on big files

The "iterate over sections" ini file iterator only seems to see the first 1600 sections or so. It might sound dumb to want bigger files than that, but I find an .ini file is a very convenient data format for FB - much less effort than setting up a database. So I have some files of more than 5000 sections.

Steve

Hi Steve,

We’re using the Windows APIs to read INI Files, so you’ve found a restriction of the Windows INI file API.

IMHO, XML is by far the best solution for this kind of thing, it will let you have a more advanced structure with not much extra overhead.

Regards,

Angus

Yeah, I suspected that might be the case. I’ll give XML a go next time it comes up - for the moment I’m actually using an SQL database.

Steve

PS How’s Barcelona? :slight_smile:

Great. I love this city. :).

TechEd is very interesting as well. (I scored the combined delegate/exhibitor pass, so I get to go to sessions as well as the exhibition hall.)

- Angus