On 3/15/11, Peter Williams <pewilliams2...@live.com> wrote:

> ConfigIni := TIniFile.Create(ChangeFileExt(Application.ExeName,'.ini'));

You really should not do that in most OS's, even on Windows it is
deprecated since win9x.
Most times you will not have write permissions there.
Also under *nix this location might not be what you expect it to be...

Use GetAppConfigDir to determine where to put INI files.

Bart

--
_______________________________________________
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to