Re: slow startup speed, XP SP 3



In this case, the problem is that each and every key-value update to
the *.ini file via the OS API is causing a temporary file to be
written, then the using the temporary file to replace the old version
of the *.ini file.  (This fails if the program doesn't have delete
access to its own *.ini file -- which is the default under Vista for
programs installed under the Program Files folder....)

First a note here it seems angband updates the entire INI file
contents regardless of wether it's been changed or not, so I guess it
would be possible to reduce the newfile/write/delete loops by first
checking wether it needs to be written, this without affecting the
current implementation of those settings (the delete permissions issue
for Vista should probably be solved by using the \users folder in the
long run but more short term could be solved in an installer setting
the permissions).

Second, I think we all agree that though INI files are easy to deal
with, they are something that no one really beleives in. So what would
be suggestions to replace it? What do the other OS ports use anyhow?
.



Relevant Pages

  • Re: slow startup speed, XP SP 3
    ... supported for backward compatibility from Win95 through Vista. ... license for handling Windows *.ini files. ... the *.ini file via the OS API is causing a temporary file to be ... then the using the temporary file to replace the old version ...
    (rec.games.roguelike.angband)
  • Re: How to modify program files in Vista?
    ... create it within HKLM and change the permissions. ... the INI file to all users. ... What "corporate security" applications do you know that will do ... But I doubt that it is truly global state; more likely it is per-user ...
    (microsoft.public.vc.mfc)
  • Re: IIS 6.0 CGI pipe broken...
    ... We have the CGI app pool set to Local System. ... permissions than Local System. ... We also have set the windows and system32 folders read and execute ... No but it displays an error that means that it can't access its ini file. ...
    (microsoft.public.inetserver.iis.security)
  • Overriding System Permissions
    ... We have a ploicy where the executable resides in a folder which has ... only got the permissions set for the user to have: ... We have an INI file and an xml file in the same folder to load ... However when we try to write to these files we get a permissions ...
    (microsoft.public.dotnet.general)

Loading