S
Striebrovlas
Guest
I read maybe all articles from ChangeJournals in msdn documentation and how to walk with buffer. I am still unable to understand how to work with Journals.
1. What I want is wach some directory or file and read for changes in Journals (for that file or directory), if it is possible. Check if file is rewriten or updated, created new files or delete inside folder / directory. How to do that? Are there some examples except walk with buffer? But before answer for this question, please read question 2.
I found simple functions like GetFileTime() which I can check between two files and decide to copy if time is not same. I can check if file is exist or not. etc... or I found this function GetFileInformationByHandleEx() which can be used for file or directory
2. question is, can I do this simple check with this functions like GetFileTime and GetFileInformationByHandleEx() or Journals are still better option?
I can see problem if I choose more folder with lots of files, and application will be checking each loop all files if something is not changed. Isn't take it much from performance?
Continue reading...
1. What I want is wach some directory or file and read for changes in Journals (for that file or directory), if it is possible. Check if file is rewriten or updated, created new files or delete inside folder / directory. How to do that? Are there some examples except walk with buffer? But before answer for this question, please read question 2.
I found simple functions like GetFileTime() which I can check between two files and decide to copy if time is not same. I can check if file is exist or not. etc... or I found this function GetFileInformationByHandleEx() which can be used for file or directory
2. question is, can I do this simple check with this functions like GetFileTime and GetFileInformationByHandleEx() or Journals are still better option?
I can see problem if I choose more folder with lots of files, and application will be checking each loop all files if something is not changed. Isn't take it much from performance?
Continue reading...