ghoshajayaghosh wrote:Hi marten,
thanks for your reply.
I would like to have some information about.. which all things i need to take care while migrating my app to vista.
As you said version migration is not that painful, but what i am thinking about mainly is that the interaction with the file-system.
The directories which my application mainly interacts are:
1) "Program Files", it reads as well as write data from this area
2) "WINDIR", it tried to read a file.
3) Public folder, which it keeps the cache (seems this part is OK) .
4) WIN API calls through OScall class.
when i tried to track the application through the Application verifier tool, i found that file reading/writing as above described fails with some permission errors.
How could i make changes, so that it works on vista too...any links to this area would be appreciable.
Yes, but this is a general problem about how to program under Windows:
- never ever doing programming as administrator
- never ever write to "program files" subdirectories - this is also the reason, why there is a readme about the installation process and usage under Vista dn/or W7. There are special system directories, which have to be used by the application to store their app data.
- well API calls can be made, but of course there are API calls, which needs special security privileges - without them they might fail - but this nothing else like point 1).
I am not aware of any Vista-W7 specials. They all belong to general Windows programming style guide.
Marten