R
Robin Tucker
In the absence of IAdviceSink support in .NET (well, not the pure vanilla
COM version anyway), I need to be able to tell when another process has
saved changes to a file, in a similar way some programs state "file has
changed on disk, reload?". I was wondering what strategy I should use in
order to check temp files I have created to see if they have been changed by
another process. My initial thought is to periodically check the files, but
if there are (say) 20 of them, this could in time become quite a drag on
performance.
Any other strategies I can use?
Robin
COM version anyway), I need to be able to tell when another process has
saved changes to a file, in a similar way some programs state "file has
changed on disk, reload?". I was wondering what strategy I should use in
order to check temp files I have created to see if they have been changed by
another process. My initial thought is to periodically check the files, but
if there are (say) 20 of them, this could in time become quite a drag on
performance.
Any other strategies I can use?
Robin