[fpc-pascal] Re: Fpc Access Violation if AppConfigDir doesn't exist.
Mattias Gaertner
nc-gaertnma at netcologne.de
Mon Feb 11 17:16:19 CET 2013
On Mon, 11 Feb 2013 17:02:39 +0100
Sven Barth <pascaldragon at googlemail.com> wrote:
> On 11.02.2013 15:30, Mark Morgan Lloyd wrote:
> > If anything, it is the fault
> > of AppConfigDir for indicating a directory without raising an exception
> > pointing out that it doesn't yet exist :-)
> >
>
> And AppConfigDir/File is documented as not guaranteeing that the path to
> the directory or file exists. This also includes upper parts of the
> path's tree.
And here is an example, what happens when a program blindly forces
directories:
http://www.administrator.de/images/content/e06eaa5bdbdca8c9602d9d0f7c5b4e09-1.gif
It seems some system variables under Windows sometimes contain
gibberish. But that's off topic.
Mattias
More information about the fpc-pascal
mailing list