How to get user-independent Library path for Mac OS X with Firemonkey?

  

By Anthony Burg Using XE6, the Embarcadero documentation here states that TPath::GetLibraryPath () “Returns the path to a directory to store any data that your application needs store, regardless of the user”.

Yet, in the Sample Path table, they list OS X’s for this function as

/Users/username/Library

which seems user-specific. The first question is whether this is, in fact, the correct folder to use to store data regardless of the user. The second question is – if not – how to get the folder to the user-non-specific Library in OS X, preferably using a Firemonkey property or method. …read more

Via: StackOverflow

Comments are closed.