Discussion:
XP SP3 and IE6 Problem
(too old to reply)
Rich L.
2008-07-30 17:15:14 UTC
Permalink
Howdy,

I've run into a problem with WinINET and WPAD after installing XP SP3.
With a non-administrative user and proxy auto detection enabled my
executable cannot successfully initialize WinINET with the
InternetOpen call and the INTERNET_OPEN_TYPE_PRECONFIG flag. This same
code worked fine with SP2 and works fine if you install IE7. Switching
the flag to INTERNET_OPEN_TYPE_PRECONFIG_WITH_NO_AUTOPROXY makes it
work but I'd rather not defeat proxy detection as some of my customers
do use it.

Here's another interesting tid-bit. My executable is started by an
ActiveX control using CreateProcess. If I start it manually and run it
seperately from the browser it works just fine.

Thanks in advance for any ideas.

Rich Letsinger
Rich L.
2008-07-30 20:03:58 UTC
Permalink
Nevermind!

I found a time-out loop elsewhere in the code that was allowing the
Send() attempt only 20 seconds to complete. The proxy auto-detection
was taking longer than that and was being killed. Uhg...

Rich

Loading...