[Top] [All Lists]

Re: Wininet HttpSendRequest returns 12029

Subject: Re: Wininet HttpSendRequest returns 12029
From: "Ron"
Date: Fri, 8 Sep 2006 11:46:28 -0400
Newsgroups: microsoft.public.inetsdk.programming.wininet
I am interested in what happened - I have the same issue.

>[email protected] wrote:
> 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.

>Sorry, I should have added the following.

>I have tried giving both the source code and the compiled executable to
>another person (with delphi installed) and they are unable to
>re-produce the error. (the program executed fine from both within the
>Delphi IDE and from the stand alone executable.)

>I have also tried re-installing Delphi, but the problem persists.

<Prev in Thread] Current Thread [Next in Thread>