> Someone know how to get the directory my application is sitting in if
> running in TService ?

Do you mean (1) the directory where the executable file is or (2) the 
current directory ?

(1) => ExtractFilePath(Application.ExeName)
(2) => GetCurrentDirectory

If you have no access in (1) to the Application object, you can use 
GetModuleFilename, passing NULL for first argument.


Contribute to the SSL Effort. Visit http://www.overbyte.be/eng/ssl.html
--
[EMAIL PROTECTED]
The author for the freeware multi-tier middleware MidWare
The author of the freeware Internet Component Suite (ICS)
http://www.overbyte.be


__________________________________________________
Delphi-Talk mailing list -> Delphi-Talk@elists.org
http://www.elists.org/mailman/listinfo/delphi-talk

Reply via email to