Article View: microsoft.public.inetsdk.programming.wininet
Article #4Re: Wininet HttpSendRequest returns 12029
From: jdorrington
Date: Tue, 11 Apr 2006 14:29
Date: Tue, 11 Apr 2006 14:29
25 lines
2470 bytes
2470 bytes
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.
Technical Details
Message-ID:
<1144765786.929119.20340@i39g2000cwa.googlegroups.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!postnews.google.com!i39g2000cwa.googlegroups.com!not-for-mailReferences:
<1144765030.371389.280670@z34g2000cwc.googlegroups.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 115f11,13d568ea80478c6f X-Google-Thread: 10baee,13d568ea80478c6f X-Google-Thread: 1036eb,13d568ea80478c6f X-Google-Attributes: gid115f11,gid10baee,gid1036eb,public X-Google-Language: ENGLISH,ASCII-7-bit Path: arc1-ca.pugleaf.net!g2news1.google.com!postnews.google.com!i39g2000cwa.googlegroups.com!not-for-mail From: jdorrington@hotmail.com Newsgroups: microsoft.public.inetsdk.programming.wininet,comp.lang.pascal.delphi.misc,borland.public.delphi.internet.winsock Subject: Re: Wininet HttpSendRequest returns 12029 Date: 11 Apr 2006 07:29:46 -0700 Organization: http://groups.google.com Lines: 26 Message-ID: <1144765786.929119.20340@i39g2000cwa.googlegroups.com> References: <1144765030.371389.280670@z34g2000cwc.googlegroups.com> NNTP-Posting-Host: 212.95.229.246 Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Trace: posting.google.com 1144765792 368 127.0.0.1 (11 Apr 2006 14:29:52 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Tue, 11 Apr 2006 14:29:52 +0000 (UTC) In-Reply-To: <1144765030.371389.280670@z34g2000cwc.googlegroups.com> User-Agent: G2/0.2 X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.8.0.1) Gecko/20060111 Firefox/1.5.0.1,gzip(gfe),gzip(gfe) Complaints-To: groups-abuse@google.com Injection-Info: i39g2000cwa.googlegroups.com; posting-host=212.95.229.246; posting-account=MVxGBw0AAACXGNZ6fZasJ4zW4CTS-2oE