appy Level: Guest

|
Re: wininet API problem
Hi,
I am facing a similar problem. Only I am not trying to send a file but send message to a server on the net to say display the contents of the web page. I am not able to enter the proxy information into the piece of code.
InternetSetOption (hConnect, INTERNET_OPTION_PROXY_PASSWORD,szPass, lenPass+1);
Does not help. COuld you tell me the flags associated with Internet_open_type_proxy? The flags that I am using are:
INTERNET_FLAG_IGNORE_REDIRECT_TO_HTTP | INTERNET_FLAG_KEEP_CONNECTION |
INTERNET_FLAG_NO_AUTH |
INTERNET_FLAG_NO_AUTO_REDIRECT | INTERNET_FLAG_NO_UI |
INTERNET_FLAG_HYPERLINK| INTERNET_FLAG_RELOAD;
Could you please tell me what could be wrong with the piece of code.
thanks in anticipation,
appy.
|