Hi
ParamStr(0) returns the whole program-name as called from the OS, on winders, that includes '.exe' extension, on unices it doesn't have to have an extension.
Which brings us to "C_DELIMITER", what the h*ll is that?!? Is it a hyphen '-' or what?!?
Third point:
Application.SetConfigFile(ParamStr(0)) + C_DELIMITER + 'config.txt');
There's 1 too many ')' in this "ParamStr(0))", remove the last one, so that the entire becomes:
Application.SetConfigFile(ParamStr(0) + C_DELIMITER + 'config.txt');
...Then your config-file may be named '/home/you/myapp-config.txt' at least on a *nix-box...
I'm grasping here, due to the lack of info...
Regards Benny