multiple wodHTTP ocx's - WeOnlyDo Discussion board

multiple wodHTTP ocx's (wodHttpDLX)

by hi, Tuesday, November 13, 2007, 15:15 (6018 days ago)

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

by wodDamir, Tuesday, November 13, 2007, 15:29 (6018 days ago) @ hi

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

by sdf, Tuesday, November 13, 2007, 16:00 (6018 days ago) @ wodDamir

the error is cannot change host infomration @ this time

Re: multiple wodHTTP ocx's

by wodDamir, Tuesday, November 13, 2007, 16:07 (6018 days ago) @ sdf

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

by fsjkjk, Tuesday, November 13, 2007, 16:13 (6018 days ago) @ wodDamir

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

by woddrazen, Tuesday, November 13, 2007, 16:18 (6018 days ago) @ fsjkjk

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

by fsdf, Tuesday, November 13, 2007, 17:35 (6018 days ago) @ woddrazen

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

that did the trick ty very much

Re: multiple wodHTTP ocx's

by woddrazen, Tuesday, December 09, 2008, 00:01 (5626 days ago) @ fsdf

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