views:

100

answers:

0

We work in a network that uses a proxy server that accepts NTLM based and basic authentication. When I try to connect to an external IP from an app that I am creating, while running it on a Windows 7 machine, I get the following WinHttp error code 12152 (It sometimes happens from WinHttpRecieveResponse and sometimes from WinHttpSendRequest).

The application works fine when it runs from WinXP and Vista. The app makes use of the function WinHttpGetProxyForURL() function to get the proxy details automatically(WPAD).

I think the problem has something to do with NTLM authentication. Please help.