[Lazarus] Is porting Delphi program using AsyncPro to fpc/laz possible?
Michael Schnell
mschnell at lumino.de
Thu Jan 21 12:43:05 CET 2016
On 01/21/2016 11:38 AM, Mark Morgan Lloyd wrote:
>
> That of course is a significant issue.
I don't see what could prevent this from working.
The simple method would be to create a new buffer for the data to be
transferred to the main thread and copy the data already received in a
"static buffer" there.
If you want to avoid copying you could transfer the data in the receive
buffer (which later would be freed) and allocate a new receive buffer
for the next receive.
I don't understand the "OS" issue, that you speak of .
-Michael
More information about the Lazarus
mailing list