06-04-2019, 05:22 AM
(This post was last modified: 06-04-2019, 08:48 AM by ib elfving.)
(06-04-2019, 03:51 AM)Alexandre Machado Wrote: Have in mind that this is an emergency fix so you have time to find where the problem really is. Do *NOT* leave it running like this. Adding critical sections like that in multithreaded applications can lead to unpredictable side effects, the worse is a deadlock which would require you to restart your application.
You just made my day. I have been programming in delphi for many years, but this one is new to me and will give me time to do the work correctly. Thank you for the advice.
Addendum: Preliminary test in the production was positive. Thanks God (and Alexander) - Finally time to do some proper programming
regards ib