On 05 Feb 2009, at 08:54, Ken G. Brown wrote:
How can I find the directory path to the executable of the currently
executing program from within the program?
Or alternately, how can I specify the relative path to a file that
is located in the same folder as the application bundle for my
currently executing program?
Using ./filename does not appear to work for me.
Are there file and directory type utilities available? Where can I
read up on them?
http://developer.apple.com/documentation/CoreFoundation/Conceptual/CFBundles/CFBundles.html
E.g., http://developer.apple.com/documentation/CoreFoundation/Conceptual/CFBundles/Tasks/locating.html#/
/apple_ref/doc/uid/20001123-123785
Jonas
_______________________________________________
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal