Rich L.
2008-07-30 17:15:14 UTC
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
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