Newsgroups : Microsoft : microsoft.public.inetsdk.programming.wininet : 2006 Sep : Re: Wininet HttpSendRequest returns 12029
| Subject: | Re: Wininet HttpSendRequest returns 12029 |
| Posted by: | "Ron" (r..@naplessoftware.net) |
| Date: | Fri, 8 Sep 2006 11:46:28 |
I am interested in what happened - I have the same issue.
>jdorrington@hotmail.com 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.