in reply to Re: File opened/closed in Windows.
in thread File opened/closed in Windows.

I wanna be notified when a file is opened or closed somehow. It should be archiveable somehow using the Win32 (::API) module, but first I need to know what functions to use in Windows. The other modules I mentioned dont have that support (since its not in the Windows API for ReadDirectoryChangesW). However, it _seems_ possible, but Im not sure how. Linux INotify has it easy, since it has IN_CLOSE (A file has been closed) and IN_OPEN (file closed) support.

Replies are listed 'Best First'.
Re^3: File opened/closed in Windows.
by Anonymous Monk on Mar 17, 2006 at 00:30 UTC

    You apparently know how to use Win32::API, so once you know which apis to call, you'll know how to do it.

    Therefore your problem is not a Perl problem, but a Win32::API problem, and there are better forums for those than PM.