[fpc-devel] Cross platform access to homedirectory

Michael Van Canneyt michael at freepascal.org
Mon Dec 10 16:41:03 CET 2007



On Mon, 10 Dec 2007, Vincent Snijders wrote:

> Hi,
> 
> Is there a way to get the home directory of a user in a cross platform way. I
> would expect such a function to be part of SysUtils, but could not find it.
> 
> Such a function can be used to implement:
> http://www.freepascal.org/mantis/view.php?id=10219
> 
> A way to implement this is subscribed here:
> http://www.lazarus.freepascal.org/index.php?name=PNphpBB2&file=viewtopic&t=4703

I will add such a function, since is similar to the already existing
GetAppConfigDir and uses the same mechanisms.

Michael.



More information about the fpc-devel mailing list