[fpc-pascal] teventobject.create fails with error 161

Snorkl e tony.caduto at gmail.com
Fri Oct 14 20:24:28 CEST 2016


Hi Sven,


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
short time.

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.


Regards,

Sven"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20161014/542d100c/attachment.html>


More information about the fpc-pascal mailing list