Click here to Skip to main content
15,868,141 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Is there a way to detect the Handle of the process that created and/or writes repeatedly for microseconds in a specific .txt file?

Or, in another way (may be better): starting from the Handle of a process, is there a way to detect if this specific process writes in a .txt file and get the filename?

Ty
Posted
Updated 6-Nov-15 7:23am
v2
Comments
Richard MacCutchan 6-Nov-15 14:10pm    
Most of the links to such information are held in the OS and are impossible or difficult to find.

1 solution

 
Share this answer
 
Comments
ezio2000 6-Nov-15 16:43pm    
Ty, but I don't need to know what process OPENED a file or what process HAS LOCKED a file.
I need to detect continuosly what process IS WRITING into the file.

Is not the same thing, IMHO.
Sergey Kizyan 6-Nov-15 16:48pm    
Process that locked the file is writing to it. You can monitor this all the time in some loop for example

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900