[fpc-pascal] teventobject.create fails with error 161
tony.caduto at gmail.com
Fri Oct 14 20:24:28 CEST 2016
Yes the events get destroyed in the threads destructor. I verified they
were being freed up.
It would usually happen when lots of connect disconnects happened in a
Once that error 161 popped it could not be recovered from, all new
connections would fail on the teventobject.create.
It would also happen much sooner when compiled as 32bit.
I guess as long a using the GUID works long term it shouldn't be an issue.
"Do you destroy the event again once it's no longer used? Of course if you
require the events the whole time it might indeed be a Windows limitation.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the fpc-pascal