[Progress Communities] [Progress OpenEdge ABL] Forum Post: RE: Using .NET Filesystem watcher

  • Thread starter Thread starter tbergman
  • Start date Start date
Status
Not open for further replies.
T

tbergman

Guest
I did a little looking into this and it appears that a simple change to the code will make this OK to use in a single threaded environment like Progress. Adding the line FileSystemWatcher:SynchronizingObject = this-object. will cause the methods used by the Change, delete etc. events to use the thread that started the form. I've tested this in a form and with this line, no crashes occur. Without it, crashes are immediate. Very little testing has been done, YMMV

Continue reading...
 
Status
Not open for further replies.
Back
Top