[Lazarus] Reading and writing TMemoryStream in events?

Bo Berglund bo.berglund at gmail.com
Sun Nov 7 20:05:47 CET 2010


On Sat, 06 Nov 2010 09:54:20 +0100, Bo Berglund
<bo.berglund at gmail.com> wrote:

>I intended to use a TMemoryStream object to collect incoming serial
>port data, but now I am not so sure it will be possible...

Never mind,
I solved the problem by creating a new class containing a dynamic byte
array that I manage myself. THis way I get full control over the read
and write pointers and the size of the storage.



-- 
Bo Berglund
Developer in Sweden





More information about the Lazarus mailing list