search for: readdirectorychangesw

Displaying 9 results from an estimated 9 matches for "readdirectorychangesw".

2005 Jan 20
1
ChangeNotify help wanted
Hi all, I''ve checked in some code to win32-changenotify. Unfortunately, it doesn''t work right. I need some help. I don''t understand what, exactly, I''m supposed to pass to ReadDirectoryChangesW() for the 2nd argument, nor how to read the data back out. There''s also a WCHAR issue that needs to be worked out with regards to the FileName FILE_NOTIFY_INFORMATION struct member. Please see the changenotify_init() function in changenotify.c. HELP! Regards, Dan
2005 Jan 06
0
Some thoughts on win32-changenotify
...like this: filter = ChangeNotify::FILE_NAME | ChangeNotify::DIR_NAME | ChangeNotify::LAST_WRITE cn = ChangeNotify.new("c:\\",false,filter){ |cns| puts "File changed: " + cns.file_name puts "Action: " + cns.action } cn.wait That means altering changenotify.c to use ReadDirectoryChangesW() instead of FindFirstChangeNotification(). Our Ruby ChangeNotifyStruct would contain two members, "action" and "file_name" that would be the Action and FileName members of the FILE_NOTIFY_INFORMATION structure. I''ve tinkered around with this but I''m having a...
2007 Aug 08
12
Some more win32-changenotify analysis
Hi all, I decided to check the responsiveness of the pure Ruby vs C extension versions of win32-changenotify. I setup this little file generator program: a = [] 10.times{ |n| a << Thread.new{ File.open("File_#{n}", ''w''){ |fh| fh.puts "test #{n}" } } } a.each{ |t| t.join } The pure Ruby version did not do so well. In some cases it
2004 Aug 16
1
TRANS2 notifications
Hello, I am using Samba 3.01. I am running a Win2K application that uses ReadDirectoryChangesW. I understood that this API uses TRANS2 notifications, which seems not to be supported in this version (the comment on the handler function says that nothing is done). Does anyone have a patch for this that I can use? Thanks, Menny
2004 Mar 22
3
Long time needed for "Building file list" Any suggestions ?
We're running rsync 2.5.7 on a Windows2000 server, in combination with cygwin/ssh. The server who receives the data is a Linux server. The amount of data from the Windows server is about 100 Gb. Represented by 532.000 files of different nature. Mostly doc, ppt and xls files. It takes about 2 hours to create only the file list. Is the amount of data/files to big, should I segmentate the
2011 Jan 09
4
IIS Change Notifications
Good afternoon all, I'm a web developer (c#) who also manages a small hosting environment. Roughly, our configuration is: Two IIS7 (Windows Server 2008 Web) servers which share configuration data and site files from a SMB share located on a ubuntu server. The ubuntu server is currently running 3.0.28a which is quite old, but read on. We've been having a problem with the change
2010 Dec 24
0
Wine release 1.3.10
...oleaut32: Hide variables and functions count storage details in helpers. Paul Vriens (1): shdocvw/tests: Make sure we use a valid temporary directory. Piotr Caban (4): sane.ds: Convert Polish translation to UTF-8. kernel32: Add support for completion routine invocation in ReadDirectoryChangesW. server: Handle more inotify mask values. kernel32: Added more ReadDirectoryChangesW tests. Rico Sch?ller (14): d3dcompiler: Handle TAG_OSG5 in D3DGetBlobPart(). wined3d: Fix memset size in IWineD3DVolumeImpl_Unmap. d3dcompiler: Use an iface instead of a vtbl pointer...
2007 Aug 04
10
Need some help with pure Ruby win32-changenotify
Hi all, I know it''s deprecated, but people seem to still be using win32-changenotify, so I thought I''d see if I could make it pure Ruby. Also, I thought it would be a good opportunity to test passing a custom Win32::Event object. I''m mostly done I think, but I''m having trouble unraveling the FILE_NOTIFY_INFORMATION struct buffer. Please check out the
2011 Jan 21
0
Wine release 1.3.12
...to_pidl. shell32: Don't check if files are of the same type if name is equal in IShellFolder2_CompareIDs. server: Return multiple events in read_changes. server: Don't report rename events when file is moved between directories. kernel32/tests: Added file move/rename ReadDirectoryChangesW tests. mshtml: Added IObjectSafety stub. Stefan D?singer (1): wined3d: Don't set cube and volume POW2 caps if np2 textures are supported. Thomas Mullaly (8): urlmon: Fixed misc typos and removed a few random tab characters. normaliz: Changed the default debug channel t...