[zeromq-dev] Error codes in Windows (ZMQ_HAUSNUMERO)

Dimiter 'malkia' Stanev malkia at gmail.com
Thu Feb 16 20:27:14 CET 2012

Hi guys,

I have a question about ZMQ_HAUSNUMERO in zmq.h. It looks like this is a 
workaround the Windows headers, so that proper Exxx error codes are 

I'm just having hard-time translating this correctly into a binding.

For example:


I can expand at the time of compilation, and get the value, but what if 
the library gets recompiled and the value changes?

Any thoughts? I'll look in the meantime, at other people's bindings to 
see how it's solved, but this has puzzled me a bit

Dimiter 'malkia' Stanev

More information about the zeromq-dev mailing list