natlkak.blogg.se

Process monitor file access
Process monitor file access






process monitor file access process monitor file access

The issue is that many images, at times hundreds of images, will be copied at one time. Once the images are fully copied my program needs to start processing the images as soon as possible. The issue is that OTHER processes are copy images into directories that my program is monitoring. Years ago when I wrote this code I did see that at a lower level, I think it was part of the DDK SDK or something, it is possible to find out a lot more information about how another program is accessing a file.Ĭan anyone speak into this and point me in the right direction? I do expect it to be C++ code, not C# code. While this works on my development machine, unfortunately customers report issues with the whole process. The current logic is to watch for created and changed events and than wait 5 seconds in hopes that by that point in time the copy process is done. The only problem is there is no event for when another process is DONE with the file. Right now the code is written in C# and is using the FileSystemWatcher class to monitor the files.

process monitor file access

The problem I am running into is some of the images are very large and I don't know when the copy process is done. I am working on a program that processes image files.








Process monitor file access