Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: Anyway to determine path being monitored with Win32::ChangeNotify?

by GrandFather (Saint)
on Nov 13, 2014 at 03:41 UTC ( [id://1107049]=note: print w/replies, xml ) Need Help??


in reply to Anyway to determine path being monitored with Win32::ChangeNotify?

Documentation for Windows API functions FindFirstChangeNotification and FindNextChangeNotification which are wrapped up by the module states:

"these functions do not indicate the actual change"

The documentation suggests ReadDirectoryChangesW be used to "retrieve information about the specific change". But that doesn't help your case unless you can monitor the parent directory instead, and I can't find a Perl module that wraps up ReadDirectoryChangesW in any case. You can probably call ReadDirectoryChangesW directly using Win32::API if that solves a problem for you.

Perl is the programming world's equivalent of English
  • Comment on Re: Anyway to determine path being monitored with Win32::ChangeNotify?

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1107049]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others having a coffee break in the Monastery: (9)
As of 2024-04-19 08:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found