Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: How can I know which file is add or del by Win32::ChangeNotify/POE::Component::Win32::ChangeNotify?

by runrig (Abbot)
on Mar 15, 2006 at 00:43 UTC ( [id://536743]=note: print w/replies, xml ) Need Help??


in reply to How can I know which file is add or del by Win32::ChangeNotify/POE::Component::Win32::ChangeNotify?

Win32::ChangeNotify does not provide that information. You would have to figure it out yourself by listing the directory before and after the notification and comparing the results. There is another module Win32::AdvNotify which, if you can find the module (update: here is a link), would provide that information, but keep in mind that that module is long unsupported, no source is available, and the author is MIA.

BTW, I could not get POE::Component::Win32::ChangeNotify to work, have you had any better luck? For me, the program exits before it ever calls the notification routine.

  • Comment on Re: How can I know which file is add or del by Win32::ChangeNotify/POE::Component::Win32::ChangeNotify?

Replies are listed 'Best First'.
Re^2: How can I know which file is add or del by Win32::ChangeNotify/POE::Component::Win32::ChangeNotify?
by benlaw (Scribe) on Mar 15, 2006 at 03:16 UTC
    Hi runrig,

    I downloaded Win32::AdvNofify, but how can i install the module? There is a html file which say install API(http://www.generation.net/~aminer/Perl) before install the module but the link is already unavailable @@ is it talking about win32::API ?

    I cannot run POE::Component::Win32::ChangeNotify as well, than I try POE v 0.3301(from CPAN), it can work now, however, the example code exit and print twice of message when it notify

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (6)
As of 2024-04-19 14:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found