[Lazarus] ZeroMQ Bindings
Sandro Cumerlato
sandro.cumerlato at gmail.com
Tue Aug 23 14:22:09 CEST 2016
Hello Leonardo,
try to change your binding zmq.pas file like this:
function zmq_recv (s: pointer; buf: pointer; len: size_t; flags:
Integer): Integer; cdecl; external libzmq;
it should be the correct translation of original code:
ZMQ_EXPORT int zmq_recv (void *s, void *buf, size_t len, int flags);
Sandro Cumerlato
On 23 August 2016 at 14:06, Leonardo M. Ramé <l.rame at griensu.com> wrote:
...
> zmq_recv(responder, @buf[0], 10, 0);
>
> But when I change the code to that I get this error:
>
> unit1.pas(52,42) Error: Can't assign values to an address
>
> Regards,
More information about the Lazarus
mailing list