On Sat, 13 Oct 2018 20:43:43 +0200, Bo Berglund via Lazarus <lazarus@lists.lazarus-ide.org> wrote:
>type > TRxEvent = procedure (const Buffer: TBytes) of object; Of course posting here is the best way to actually discover the solution just a few minutes afterwards... The const specifier was missing in the implementation on the form where I wanted to use the class object. Adding it in let the compile succeed! Sorry for the noise. -- Bo Berglund Developer in Sweden -- _______________________________________________ Lazarus mailing list Lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus