what causes this error 'Unable to write to application file.ini'

前端 未结 2 1619
夕颜
夕颜 2021-01-22 08:44

My application is build in delphi and it runs perfect on other platforms except Windows 7 64bit machine. Each and everytime try to close the application is giving me this error

2条回答
  •  故里飘歌
    2021-01-22 09:38

    You should not write ini files to the program directory. Although it worked in the past, it has never been a good practice.

    You should be using %APPDATA% for user specific application data.

    You might want to read Best practices storing application data

提交回复
热议问题