Looking for directories in Vista
Hi,
Our testing team uncovered a small problem with a service we've developed when running it under Vista.
The service runs in the system account or whatever it's called, the super user account. Anyhow, it's installed in C:\Program Files\... and in its installation directory is a sub-dir that contains some user-modifiable data. The data is managed using a custom app.
So the problem as it turns out is anything written to C:\Program Files\... is actually stored in some kind of virtual directory structure and not the real Program Files directory. So when the service starts up, there are no files for it to access!
How do I make the config app get to the actual C:\Program Files\... instead of the virtual directories?
Thanks!
Re: Looking for directories in Vista
Oh, and I'm just using CreateFile(...) to open the files to read/write the data in the sub-directories, nothing special there.