[fpc-pascal] GetTempFileName in Linux

Michael Van Canneyt michael at freepascal.org
Thu Oct 7 13:43:16 CEST 2010



On Thu, 7 Oct 2010, Sven Barth wrote:

>> So: Norms ? Thank you, but I'll pass on that and implement what I
>> perceive as
>> simple and correct :-)
>
> If the applications would keep their read only files in 'c:\program files' 
> and write only into those directories that they should (e.g. user's appdata 
> and global appdata (although this one should not be used for sharing writable 
> files...)) we wouldn't have all these problems (virtual file store, UAC, 
> etc.).

Some applications must write in the application directory.

Our apps do automatic updates at least once a month. The updates cannot 
be postponed. I don't see how this can be achieved without writing in the
application directory.

Michael.



More information about the fpc-pascal mailing list