[zeromq-dev] Error: An attempt was made to load a program with an incorrect format.

Peter Kleiweg pkleiweg at xs4all.nl
Mon Jun 15 11:10:46 CEST 2015

hhusp house schreef op de 15e dag van de zomermaand van het jaar 2015:

> For me this looks that an external dll is loaded with the 
> win32 LoadLibrary functionwhich returns this error. Probably 
> the function returns HRESULT: 0x8007000B

That doesn't make sense. Most things work as expected, but when 
an error is expected you get these weird messages on Windows.

Instead of "invalid argument" you get "The device does not 
recognize the command."

Instead of "protocol not supported" you get "An attempt was made 
to use a JOIN or SUBST command on a drive that has already been 
Instead of "resource temporarily unavailable" you get "An 
attempt was made to load a program with an incorrect format."

Then there are two other test errors:

Example_test_ctx_options fails: zmq.GetMaxSockets() returns 
another value then zmq.MaxSocketsDflt

Example_test_pair_ipc fails where there should be no error.

Peter Kleiweg

More information about the zeromq-dev mailing list