InternetOpenUrl with proxy
-
Hi all i am using the method InternetOpenUrl with a callback then i can tell when status complete that proxy authentication is needed in MSDN it says to call InternetSetOption with the proxy user name and password and then call resend the problem is that i don't know how to call resend because if i call InternetOpenUrl again then it says again when complete that proxy authentication is required ??? can any1 help?
Interface basics click here : http://www.codeproject.com/com/COMBasics.asp don't forget to vote :)
-
Hi all i am using the method InternetOpenUrl with a callback then i can tell when status complete that proxy authentication is needed in MSDN it says to call InternetSetOption with the proxy user name and password and then call resend the problem is that i don't know how to call resend because if i call InternetOpenUrl again then it says again when complete that proxy authentication is required ??? can any1 help?
Interface basics click here : http://www.codeproject.com/com/COMBasics.asp don't forget to vote :)
the trick was not to call again internetopenurl (since it opens a new session), but to call httpsendrequest...
Interface basics click here : http://www.codeproject.com/com/COMBasics.asp don't forget to vote :)