multiple wodHTTP ocx's (wodHttpDLX)
ok so i have multiple threads of wodHTTP on this prj and like in the Done procedure i have it set to move to the next item and re-connect the wodHTTP thread but when it attempts to move it is givin me a error something along the lines of the control is currently in use like can't perform action in current state or whatever is there a way i can close wodHTTP like winsock before i connect with it?
Re: multiple wodHTTP ocx's
Hi,
This error usually occurs when you aren't yet connected. Can you try using Blocking mode instead?
Blocking mode will ensure that you are connected prior to calling next method.
Regards,
Damba
Re: multiple wodHTTP ocx's
the error is cannot change host infomration @ this time
Re: multiple wodHTTP ocx's
Hi,
That means that you tried to change the Hostname while you were connected. Can you check what the state was at the moment the issue occured??
Regards,
Damba
Re: multiple wodHTTP ocx's
yes it probably is still connected but i need it to change proxys so my question is how do i close the connection?
Re: multiple wodHTTP ocx's
Hi,
You should just call wodHttpDLX Disconnect Method in your code.
More help for Disconnect Method you can find here:
http://www.weonlydo.com/HttpDLX/Help/wodHttpDLXLib~wodHttpDLX~Disconnect.html
Let us know how it goes.
Drazen
Re: multiple wodHTTP ocx's
Hi,
You should just call wodHttpDLX Disconnect Method in your code.More help for Disconnect Method you can find here:
http://www.weonlydo.com/HttpDLX/Help/wodHttpDLXLib~wodHttpDLX~Disconnect.htmlLet us know how it goes.
Drazen
that did the trick ty very much
Re: multiple wodHTTP ocx's
Klinzter
If you agree we will continue our conversation on thread where is starts:
http://weonlydo.com/index.asp?forum=1&action=view&topic=1228694020#1228777186
I reply there already to your question.
Drazen