> but if i am opening the file from command prompt i am getting the notifications properly.
The only thing is when i access the file from windows explorer i am not able to get the notifications subsequently. If
there are two files a.bmp and b.bmp, and if double clicks thea.bmp i get the notification…and now if i again clicks the a.bmp i do not get any notification.
I have to click b.bmp and then again a.bmp to get the notification.
Please help
Thanks
Vivek
Am I missing something here. If you double click on a file in windows
explorer what happens (I believe) is that windows finds the associated
application, starts it and gives it the file name. Depending on the
application the second click may start a new instance or the new
instance may just defer to the first. Likewise, it is up to the
application whether or not it wants to open a handle to the same file
twice. Whatever the application decides to do, you will only receive
notification in your driver if another handle is opened. Do you know
what the associated application is doing?