Discussions related to Visual Prolog
User avatar
Ferenc Nagy
VIP Member
Posts: 215
Joined: 24 Apr 2007 12:26

Safe Gen...

Post by Ferenc Nagy »

If I press [Optimal set of include directories] then [Safe gen] the I get error report.
Why?
You do not have the required permissions to view the files attached to this post.
TIA, Regards,
Frank Nagy
User avatar
Thomas Linder Puls
VIP Member
Posts: 1466
Joined: 28 Feb 2000 0:01

Post by Thomas Linder Puls »

I do not understand the "user message" what does it say?
Regards Thomas Linder Puls
PDC
User avatar
Ferenc Nagy
VIP Member
Posts: 215
Joined: 24 Apr 2007 12:26

Post by Ferenc Nagy »

TIA, Regards,
Frank Nagy
User avatar
Thomas Linder Puls
VIP Member
Posts: 1466
Joined: 28 Feb 2000 0:01

Post by Thomas Linder Puls »

That indicates that the file is write protected. You can either make the file(s) writable or use the "Force" button.

It can also mean that user (= you) does not have sufficient permissions to change the file. In that case "Force" will only help if you run the IDE in administrator mode.
Regards Thomas Linder Puls
PDC
User avatar
Ferenc Nagy
VIP Member
Posts: 215
Joined: 24 Apr 2007 12:26

Post by Ferenc Nagy »

You do not have the required permissions to view the files attached to this post.
TIA, Regards,
Frank Nagy
User avatar
Thomas Linder Puls
VIP Member
Posts: 1466
Joined: 28 Feb 2000 0:01

Post by Thomas Linder Puls »

Apparently, on of the PFC files did not have "optimal includes" (though we have as policy that all PFC files should already have "optimal includes"). So the tool is attempting to change a file that is located in C:\Program Files... but changing files in that directory requires that you "Run as Administrator", hence the error.
Regards Thomas Linder Puls
PDC
User avatar
Ferenc Nagy
VIP Member
Posts: 215
Joined: 24 Apr 2007 12:26

Post by Ferenc Nagy »

Well Thomas,
We can close the thread with the following conclusions.
1) The procedure invoked by the dialog makes the optimal set of include statements for my own modules.
2) It tries to "optimize" the "pfc" folder :-) fortunately after the optimization of the user owned folders.
3) When the error tombstone appears the user's include statements have been already optimized.
4) The user can neglect the error messages.
TIA, Regards,
Frank Nagy
User avatar
Thomas Linder Puls
VIP Member
Posts: 1466
Joined: 28 Feb 2000 0:01

Post by Thomas Linder Puls »

Something like that ;-).
Regards Thomas Linder Puls
PDC