|
Previous Top Next |
This is a 10K CString that contains the path to the program.
ProgPath CString(10241)
For example if your program is located in 'C:\Clarion\Apps\MyApps\MyApp.exe', then ProgPath will contain "C:\Clarion\Apps\MyApps"
Note that the path does NOT have a trailing backslash. To fix that use the FixPath method:
Example:
ITC ITCoreClass
FP CSTRING(2049)
CODE
FP = ITC.FixPath(ITC.ProgPath))
MESSAGE('Program Path "' & FP)
See also: