Windows tool Handle.exe
created by Mark Russinovich (link) can be used to get the list of files opened by a process.
In my app I need the same feature - I need to know list of files opened by a different process.
How to implement this in my app?
Is it better to implement this in my app or launch Handle.exe
as subprocess and parse output?
I briefly searched WinAPI docs and didn't found how to implement this...
For me it's not a problem to have an additional .exe
file in the app folder. Main goal - everything should work fine on all Windows version since WinXP.
P.S. Seems that this is very easy task in python link ))