See what files/registry keys are being accessed by application in Windows

How do I see what files/registry keys are being accessed by my application in Windows?


Solution 1:

Check out Process Monitor at

http://technet.microsoft.com/en-us/sysinternals/bb896645.aspx

Solution 2:

Microsoft Process Monitor is better at this job. I've tried other tools but they are not as good. And MS is most trustworthy in this case, since it is made by the OS developer anyway