On Sun, Nov 2, 2025 at 1:58 PM Bart <[email protected]> wrote: > ReadBuffer(Result,0); << second param should be "Size"
Not sure, but this (ReadBuffer(Result,Size);) seems to crash then
(memory corruption)?
This:
ReadBuffer(Result[0],Size);
seems to work OK though.
(Should be save even if Size is zero, since ReadBuffer does nothing then)
--
Bart
_______________________________________________
fpc-devel maillist - [email protected]
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel
