Hmm, here's a wild guess - I haven't traced the issue or anything, so it's just that - a guess. Here goes... when using traditional INI file routines, is the file opened and close for every write operation done? That could explain why it's slow, and why nod32 slows it down even more...