So I've been playing around with lnet console and I can't manage to receive messages. I can receive and send messages fine with lnet visual but I can only send with lnet console.
I imagine it has something to do with this line:
FCon.OnReceive := OnRe;
I'm thinking that assigning OnReceive to OnRe isn't actually doing what I want. The original code from the example is:
FCon.OnReceive := @OnRe;
But that doesn't compile in Lazarus unless you add {$mode objfpc}{$H+} which I can't for my project.
Anyone have any advice they can give? Any help is appreciated
Thank you!
Bookmarks