The settings I modify in my program do not apply. Windows doesn't reread the ini files, instead it uses the settings in the pf file.
And if I delete the pf file and then execute my program, my new settings still do not apply.
I then check the \windows\prefetch folder, and I can see that a new pf file has been created. The name of that pf file is not identical to the previous one but it clearly pertains to my program. Furthermore, its size is different, so I was wrong when I said that windows kept 2 copies of it. I wish someone can help me.