[Lazarus] Reading and writing TMemoryStream in events?

Michael Schnell mschnell at lumino.de
Tue Nov 9 09:58:52 CET 2010


On 11/08/2010 05:39 PM, Henry Vermaak wrote:
>
> It's pretty portable, being POSIX and all. 
With "portable", here I meant "same code for Windows and Linux" (I'd 
better called it "Cross-Platform").
> For Windows you'd use overlapped io, iocp and wait functions.  Or 
> libevent, which is supposed to be completely cross platform, but I 
> haven't tried that yet.
>
So there is some cross platform method in libevent that can be used ?

(AFAIK, he wants to wait for serial characters and for a timer at the 
same time in a project without a GUI.)

-Michael




More information about the Lazarus mailing list