I am just beginning to use ZeroMQ and am experimenting with some of the samples. I am using the C# language bindings and have run into an issue with getting a DllNotFound Exception.
I can Load and run samples on My development machine after having copied libzmq.dll into Windows/System32, but when I move things to other servers, I get the error despite copying the libzmq.dll into both the folder the samples are running from and into Windows/System32.
I have put clzmq.dll into the Folder the sample app is in and also libzmq.dll Also, I put libzmq into c:/Windows/System32. I am running Windows Server 2003 Service Pack 2. When I check the machine Environment Variables, WINDOWS/System32 is in the PATH variable. I also made certain to build the libzmq dll using Release, not debug.
It is possible that I don't understand how the ZeroMQ .Net Binding should be used. I have added clzmq.dll (The .Net Binding) to my project as reference and I assumed that clzmq.dll would automatically reference libzmq on the Windows PATH variable WINDOWS/System32.
Does anyone know if I am mistaken on this. The C# Binding documentation ( http://www.zeromq.org/bindings:clr) states that the "ZeroMQ library file will need to be made available for the binding to work", but it seams I have failed to make it available despite copying it into the PATH variable.
Has anyone experienced the DLL not found exception when using the ZeroMQ .Net Bindings?
Thanks for the help,