The Dict_GetPathname() function returns the generic path of various components of the current installation, such as the runtime engine or launch file.
Dict_GetPathname(option)
• option – An integer specifying the type of pathname:
Constant |
Value |
Description |
---|---|---|
PATH_EXEFOLDER |
1 |
The path of the folder containing the runtime engine (Dynamics.exe). |
PATH_SETFOLDER |
2 |
In test mode, the path of the folder containing the application dictionary currently in use. With the runtime engine, the path of the folder containing the launch file used to start the application. |
PATH_DATAFOLDER |
3 |
The path to the “Data” folder for the installation. Files writable by the user are stored in this folder. |
PATH_DEXINIFILE |
4 |
The path of the Dex.ini file currently being used. |
PATH_SETFILE |
5 |
The path of the launch file (.set file) currently being used. |
A string containing the path requested in generic format.
The path that’s returned is in a generic format. Generic pathnames use a colon (:) before and after DOS drive letters. The characters that separate folders and directories are forward slashes (/).
Native pathname |
Generic pathname |
---|---|
C:\DEX\TOOLS\ |
:C:DEX/TOOLS/ |