You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{
Use this function to get the directory where the application was run from.
This is where the application data directory is.
@return path of directory
}
function GLPT_GetBasePath: string;
{
Use this function to get the "pref dir". This is meant to be where the application
can write personal files (Preferences and save games, etc.) that are specific to the application.
This directory is unique per user and per application.
@param org: name of organization
@param app: name of application
@return path of directory
}
function GLPT_GetPrefPath (org: string; app: string): string;
The text was updated successfully, but these errors were encountered:
daar
changed the title
GLPT_GetBasePath needed?
GLPT_GetBasePath and GLPT_GetPrefPath needed?
Feb 24, 2019
These functions have FPC equivalents ParamStr(0) and GetAppConfigDir and GetAppConfigFile. The functions were added in revision 195b42f.
The text was updated successfully, but these errors were encountered: