Are there any similar methods which I can use to get the root directory inside
of which Lazarus/fpc create the folder named after the application. For
instance, on Windows Vista, GetAppConfigDir(True) returns the
Windows Vista:
C:\Program Data\AppName\
Linux:
/home/user/.config/AppName/
What I need is a way to get these portions in a cross platform and uniform way:
C:\Program Data\
or
/etc/project1/
This way I can create my own method which returns a specific sub-folder of my
choosing.
I have different apps that store their configuration files in the same directory
under the main application name. Getting the special folders location on
Windows is no problem but I'm not sure about other platforms.
I figure I can parse the result of GetAppConfigDir(true) figured they may be a
method in place.
Thanks,
--
Warm Regards,
Lee
--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus