Question about: ReadDirectoryChangesW( )
CASTalk.com Forum Index CASTalk.com
Discussion of DSP, FPGA, storage and embedded system.
 
 FAQFAQ   MemberlistMemberlist     RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
Google
 
Web castalk.com
Question about: ReadDirectoryChangesW( )

 
Post new topic   Reply to topic    CASTalk.com Forum Index -> Storage System
Author Message
Jeffrey
Guest





Posted: Wed Jul 13, 2005 9:25 pm    Post subject: Question about: ReadDirectoryChangesW( ) Reply with quote

Greetings,

I am using ReadDirectoryChangesW( ) API to do a file backup application.
The theory is simple as it is: to replicate every change made to the source
folder
to a backup folder.

Now the problem I am having is: multiple notifications could be raised for a
single
operation. For example, whenever I rename a file from the Windows Explorer,
say,
A.TXT to B.DAT, I get two notifications in a row: one for reanmeing, the
other is for
modifying.

Another example is, when creating a new file in the Windows Explorer, I got
many times
creation and modifying notifications, which result in copying the same file
many times because
I backup the file at each notification.

So the question is: is it possible to get only one notification for each
operation?

Thanks,
Jeff
Back to top
 
Post new topic   Reply to topic    CASTalk.com Forum Index -> Storage System All times are GMT
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum




VoIP Electronics Powered by phpBB