I am getting a error message when exiting LHelp (CHM File Viewer) it is unable to write to a file ...\AppData\local\lhelp\lhelp-lazhelp.co.... Access is denied.
Why would it even need to access this file or directory if it existed which it doesn't.
John
There is no file or directory "c:\users\<your name>\appdata\local\lhelp"!This directory is created automatically with the config file when LHelp closes. Just to make sure: you did replace the "<your name>" in the path by your user name in Windows? Do the parent directories appdata and appdata\local of lhelp exist in the c:\users\<your name>? Or did you reconfigure Windows to point the user config directory (c:\users\<your name>) to somewhere else?
Outside of the IDE LHelp opens but has no contents but does not create the error on closing.You can navigate to the Lazarus help directory ( folder docs\chm in your Lazarus installation) and open one of the chm files manually. When you close LHelp it should create the folder c:\users\<your name>\appdata\local\lehlp (if it does not exist) and write the lhelp-standalone.conf file to it.
You can navigate to the Lazarus help directory ( folder docs\chm in your Lazarus installation) and open one of the chm files manually. When you close LHelp it should create the folder c:\users\<your name>\appdata\local\lehlp (if it does not exist) and write the lhelp-standalone.conf file to it.Not present and not created with standalone LHelp. But no errors on exit.
It might be some complicated setup for e.g. educational (lab) PCs that only allow to store on the net (roaming).No just my personal laptop.
It might be some complicated setup for e.g. educational (lab) PCs that only allow to store on the net (roaming).No just my personal laptop.
I have found the problem. Somehow the directory and files in it were hidden and read only.
I have found the problem. Somehow the directory and files in it were hidden and read only.
I wonder why that was a problem?
I've certainly seen alignment issues in lhelp but I'd have thought that provided the relevant files existed it should have worked.
MarkMLl
I wonder why that was a problem?
I've certainly seen alignment issues in lhelp but I'd have thought that provided the relevant files existed it should have worked.
just a blind shot: LHelp was first run out of the installer, so it was running "with root privileges" (UAC elevated user in Vista+ terms, admin user in XP- terms), and all the files created by it in the session inherited this admin-only credentials. Then regular user program indeed can not touch it.
But he specifically said that the files were readable (albeit hidden).
they are perfectly readable, but they are not writeable
one would expect to only need RO access?