well i have checked the bin Box and i found the dll even when i wanted to build the program (make setup) i have put the file into the dependency so when the program want's to setup on other computer it'll copy all of that dlls (libzmq,zeromq) into the folder .and then i have checked the box in the windows xp , it was there .
and sth more , even your program haven't get executed there .
it throw an error on jim page is like :
System.DllNotFoundExpection:Unable to load Dll 'libzmq':The specified procedure could not be found.(Exception from HRESULT:0x8007007F)
at ZeroMQ.ZmqSocket..Ctor(int32 type,Nullable 1 context)
at ChatClient.Client.Main(string args) in c:\my Development\ZeroMq\ZeroMQ_ChatTest\ChatClient\Client.cs:Line 13
and the line 13 is refer to zmqDealerSocket dealer = new ZmqDealerSocket();
hi again . im sorry for bothering again .
im wondering why you didint use the router class instead of the dealer in the server class ?
im sorry but can you explain alittle about what you done here im new with zeromq but i know the basic , i know that that we need to define a new socket and connect the socket/listen i was doing this in past but now im seeing new things like dealer subscriber and publisher im wondering do they do the same things as the socket is do . but i'll appriciate if you just alittle explain what you done here . ty
I didn't use the router because it prepends each message with an integer connection ID. I used the client name to identify the client instead.
Honestly, there's not much point me explaining what I've done - my code is minimal. All of the information you need, and more, is in the excellent ZeroMQ documentation. Read the 0MQ Guide - all of the socket patterns are described in great detail in there. Also, looking at the code samples in conjunction with the 0MQ API would help.
hi my friend , im sorry for bothering you again .
just a simple qustion i have .
how should i do sth in the server side dealer.onrecived event . like lets say . close second form in that event(dealer.onrecived) before publisher.send() has executed .
i want to do that but it throw an error and saying :
Cross-thread operation not valid: Control 'Form2' accessed from a thread other than the thread it was created on.
i know that , when im start(run) a method with a thread , i should define a delegate and then invoke the object to access it .
but here i dont know how to access the object .
any help i'll apriciate that .
in the code i know for shure that i did get the data to my string sqlCity.but when the code come to adap.Fill(dt); it just jump to the catch.i try to do debugging but i did not find the reason why it not fill my dt datatable.can someone tell my what is the problem ?
I Define a user control that Inherits From Control Class
I want to show many instances of that class in a new class than inherits from Pannel Class
When I make instances and run this Code, there is no control in my Pannel: