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

Snorkl e tony.caduto at gmail.com
Fri Oct 14 20:31:15 CEST 2016


Yep, I used heaptr, my code is clean.
Sometimes it would happen after 3 connects/disconnects and sometimes after
500.
With the GUID as the event name it has never happened again and I really
stress tested it.

It sounds like windows bug to me, but who knows.

On Oct 14, 2016 1:23 PM, "José Mejuto" <joshyfun at gmail.com> wrote:

> El 14/10/2016 a las 20:11, Snorkl e escribió:
>
> Since I solved it by giving the name param a giud, the next thing to ask
>> is why does teventobject fail kind of silently when the name parm is
>> blank over time?
>>
>
> Hello,
>
> To me it looks like a memory corruption, in your program or in the
> library. Have you checked the code with heaptrc activated ?
>
>
> --
>
> _______________________________________________
> fpc-pascal maillist  -  fpc-pascal at lists.freepascal.org
> http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20161014/75938806/attachment.html>


More information about the fpc-pascal mailing list