Files deleted by Vista can still be accessed by application, why?
I deleted some folders and files (only data and text files, no dlls nor exes) from my application installed in theProgram Files folder in Vista. I even removed the deleted folders and files from recycle bin and restarted the computer.
But my application can still have full access to the deleted folders and files. These deleted files can still be read, copied, moved, renamed, and deleted again in my applications as if they were not deleted at all.
Under these deleted files have already gone and there is no way you can get these files from VIsta Interface. In my application, all file functions such as fopen, FindFirstFile, GetFileAttributes can get full access to the files.
I restarted the computer. It is still the same. Very strange thing - only in Vista, not in XP.
Here is a side by side comparison of what Vista and my application display in their file browsers:
http://www.visviva.com/temp/browser3.jpg
I posted this question in VC forum and no one can explain this. Here is the original discussion thread in VC:
http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=2185382&SiteID=1
