Re: [DOTNET] Problem with Service and File System Watcher

2002-06-12 Thread Scott Boston
Unfortunately it doesn't guarantee no overflows completely, although passing the processing off to a queue certainly helps. In my application I still have to have watch for overflows even though the files to be processed are loaded into a queue, and then subsequently processed on another thread,

Re: [DOTNET] Problem with Service and File System Watcher

2002-06-12 Thread Scott Boston
The FileSystemWatcher buffer is overflowing. You can handle this event by adding something like this to your code that sets of the FileSystemWatcher: // ProcessOverflow is a method setup to handle FSW buffer overflows. fsw.Error += new ErrorEventHandler(ProcessOverflow); See MSDN for FileSystem