D
DenDuze
Guest
Hi, Again this is not completly clear to me. I tried adding the oFileSystemWatcher:SynchronizingObject = cast(this-object, "System.ComponentModel.ISynchronizeInvoke"). Now I have no syntax-error but I get a run-time error (like Laura said) Ongeldig cast van filesystemwatcher naar System.ComponentModel.ISynchronizeInvoke, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089. (12869) When I then add the implement ISunchronizeInvoke (and all needed methods/properties) it compiles fine but when the program runs I still get the 15740 error (multi threaded and Progress single threaded. So I guess this oFileSystemWatcher:SynchronizingObject doesn't work as expected/explained. Isn't there someone that used the System.IO.FileSystemWatcher from a Progress process (or some other class that leads to that 15740 that error)? How did you prevent that 15740 error: You are trying to use a multi-threaded .NET object in a way that is not supported. The ABL cannot be called on a thread other than the main thread. (15740) The ABL is single threaded. You will see this error if you use a .NET object that employs multiple threads and attempts to call back to the ABL on a thread other than the main processing thread. Regards Didier
Continue reading...
Continue reading...