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