My current app works under XP(home and pro) and is NORMALY installed in
program files/acds-pumps
The application is launched by sereveal users in the course of a working day
from the same pc, and they all log on as different users, none of which have
Administrator privlege set.
I use ParamStr(0) to work out the applications folder, so that whenever the
application is run, it can store a few details in a txt file stored in the
application folder. This file is periodically reviewed, to see how much use
the computer gets per userext log file, this is an audit trail
I understand now that my application will not be able to write to this file
when running under Vista unless the user is an Administrator
How do I therefore find a suitable folder in which to write this file so my
application can function as required?
I would like a common area, so that the shift supervisors do not have to
look in everybodies user accounts to see what work was done.I assume such a
location exists under Vista?
If it has %pathtofolder% then does anyone know how to translate the bits
inside the %% to a physical path?