Newsgroups : Borland : borland.public.delphi.nativeapi.win32 : 2005 Apr : current dirrectory question
| Subject: | current dirrectory question |
| Posted by: | "Rainer Queck" (rainer.que..@gmx.de) |
| Date: | Thu, 14 Apr 2005 14:54:49 |
Hi NG,
how is the current directory determined for a application.
I thought by starting an exe the current directory is where the exe is
located.
That seems to be true in my MainForm.Create, but not for a thread I create
from within there.
If I do a GetCurrentDirectory froom within the threads create I get
"C:\Temp" as the current directory.
Why is that so?
Thanks for hints
Rainer