DelphiFM
DelphiFM

Reputation: 133

Mac OS application data folders using FireMonkey

In Windows I use CSIDL_APPDATA folder to store the application data for the current user and C_CSIDL_COMMON_APPDATA for all users application data (shared data).

In Mac OS I would use:

~/Library/Application Support/YourApp = Application data for the current user
/Library/Application Support/YourApp = Application data for all users

("~" = home directory of the user)

How can I get the above Mac OS folders using FireMonkey?

Upvotes: 4

Views: 1628

Answers (1)

Arjen van der Spek
Arjen van der Spek

Reputation: 2660

Part of your question: Application data for current user = GetHomePath

Upvotes: 3

Related Questions