You need to place the last readline function at the end of the loop just above the actual Loop line.
You talk about and ini file and an inf file. What are you using ini or inf? The example you posted is not valid ini format.

Valid ini format is something like this:
 Quote:

[section1]
Value1=1
Value2=2
[section2]
Value1=2
Value2=89
_________________________
Mart

- Chuck Norris once sold ebay to ebay on ebay.