Problem using wininet in some proxys

ggleb
ggleb used Ask the Experts™
on
To get a file from the Internet, I start the sSession using:

InternetOpen(agent, 0, Null, Null, 0)

and then:

InternetOpenUrl(hSession, sURL, Null, 0, &H80000000, 0)

This works O.K. in most types of connection, but in some proxys my program hangs up doing this. Can anyone help me ? Thank you.
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Commented:
gg,

I have this problem with some of my clients and their proxies.  It seems to have to do with the Http1.1 settings in the advanced tab of Internet Options.  If you select Use Http1.1 with proxy it should resolve the issue.

G

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial