EldoS | Feel safer!

Software components for data protection, secure storage and transfer

wrong callback fired

Posted: 03/31/2011 00:31:46
by roana  (Basic support level)
Joined: 12/05/2010
Posts: 6


My application detects file operations using callback filter and add it to a dialog.

I have written callback events handlers like CbFltRenameOrMoveFileEventN, CbFltWriteFileEventN.

When I open a word document modify and save it, I get callback inside CbFltRenameOrMoveFileEventN instead of CbFltWriteFileEventN.

What could be the reason for such a behavior? pls help...

Posted: 03/31/2011 00:49:20
by Eugene Mayevski (Team)

MS Office applications (and I guess many other applications) write data to the temporary file, then rename the temporary file into a permanent one. So the behavior you observe is pretty correct.

Sincerely yours
Eugene Mayevski
Posted: 03/31/2011 06:35:24
by Steven Lamb (Standard support level)
Joined: 05/14/2010
Posts: 3

As Eugene correctly points out, many programs write data to a temporary file. Its generally done for data integrity. Imagine the worst case scenario that the power failed during the write then at least you can do back to your previous orig file.

A brief description is [URL=http://support.microsoft.com/kb/211632]HERE[/URL]



Topic viewed 3599 times

Number of guests: 1, registered members: 0, in total hidden: 0


Back to top

As of July 15, 2016 EldoS business operates as a division of /n software, inc. For more information, please read the announcement.

Got it!