Has anyone else ever seen this problem? Is this just a bug in 2.2.2 ?
The file is clearly where it is supposed to be and accessible from other
programs.
Is this message erroneous or misleading? It does prevent compiling anything.
What could cause this?
JY
John Youngquist wrote:
Thanks for all the info but I'm using XP. I can open the fp.cfg with
notepad.
JY
Michael Green wrote:
Hi John!
I saw someone else that posted a similar issue. Are you using Vista?
If so, this might help:
* **Right-click** (not the usual left-click) the FPC folder from My
Computer and select "Options" from the drop-down list (bottom entry).
* There are 4 tabs at the top of the new window, one of them says
"Security". Select that one and click the "Edit..." button (a window
may pop up, asking for your permission to continue - Yes, continue...).
* There's a list of groups/users and underneith that, a list of
access rights. First make sure there's a group called "Users" in that
first list (it should say something like "Users (John-PC\Users)"). If
it isn't there, click the "Add..." button, in the next window click
"Object Types.." and select (checkmark) "Users" then hit OK on this
and the previous window.
* If "Users" is already in the list, highlight it and from the list
below select the "Full Control" in the "Allow" column - it will
automatically select "Modify" as well, but will leave "Special
Permissions" unselected. That;s ok, so leave it as that and click the
"OK" button. A window will show what it's doing - applying these new
security settings to the FPC folder and all subfolders / files.
Now remember that in doing so, any user (Standard OR Administrator)
on your computer can add/edit/delete folders and files in your FPC
folder. If that's too much of a security risk for you, either upgrade
your own user account to have Administrator rights (Start -> type
"User" and select "User Accounts" from the program list -> Select
"Change your account type") -OR- you can specifically select the
FP.CFG file and apply these settings as outlined above to just that
file instead of the whole FPC folder.
Hope that did the trick for you, but use at your own risk ;-)
-- Mike
John Youngquist wrote:
I JUST GOT 2.2.2 TO REPLACE MY 2.2.0 VERSION.
When I compile a file that worked fine before it aborts immediately
WITH A MESSAGE:
"UNABLE TO OPEN: C:\FPC\2.2.2\BIN\i86-WIN32\fp.cfg
Yet this file exists in this directory. Whats wrong?
THANKS JY
_______________________________________________
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
_______________________________________________
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
.
_______________________________________________
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
.
_______________________________________________
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal