Newsgroups : Microsoft : microsoft.public.inetsdk.programming.wininet : 2006 Apr : Wininet HttpSendRequest returns 12029

www.cryer.info
Managed Newsgroup Archive

Wininet HttpSendRequest returns 12029

Subject:Wininet HttpSendRequest returns 12029
Posted by:jdorringt..@hotmail.com
Date:11 Apr 2006 07:17:10

Hi, I have a short Delphi application which uses the Wininet
HttpSendRequest API to GET a page from a website. If I run my
application from inside the Delphi IDE the call to HTTPSendRequest
always returns error code 12029 (ERROR_INTERNET_CANNOT_CONNECT),
however, if I run the compiled executable of the application the GET
request always succeeds.

At first I presumed that this must be a firewall problem but I have
tried disabling the firewall software and the problem still persists.

Can anyone tell me what would cause HttpSendRequest to return 12029
under these conditions?

Many thanks in advance.

Replies:

www.cryer.info
Managed Newsgroup Archive