In our previous episode, Jonas Maebe said:
(very old message I found in an anti-spam box, about paramstr(0) and
maintaining configuration files relative to it)
In a sense, this is no problem because on Unix-like platforms you are
not supposed to use the fact where a binary is located in the
Travis Siegel wrote on vr, 06 feb 2009:
On Feb 5, 2009, at 4:00 PM, Jonas Maebe wrote:
On 05 Feb 2009, at 22:52, Paul Nicholls wrote:
MyProgramFolder := ExtractFilePath(ParamStr(0));
This should hopefully get you the folder of the currently running program
from within the program (at least
On Feb 5, 2009, at 4:00 PM, Jonas Maebe wrote:
On 05 Feb 2009, at 22:52, Paul Nicholls wrote:
MyProgramFolder := ExtractFilePath(ParamStr(0));
This should hopefully get you the folder of the currently running
program
from within the program (at least under Win32 and Linux).
That is
Ken G. Brown kbrown-ee4meeah...@public.gmane.org wrote in message
news:p06240407c5b049e88...@[10.0.1.199]...
MacOS X, 10.5.6, fpc 2.2.2
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
On 05 Feb 2009, at 23:00, Jonas Maebe wrote:
On 05 Feb 2009, at 22:52, Paul Nicholls wrote:
Maybe I haven't understood you completely, but have you tried this?
MyProgramFolder := ExtractFilePath(ParamStr(0));
This should hopefully get you the folder of the currently running
program
from