🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: microsoft.public.inetsdk.programming.wininet
Article #3

Wininet HttpSendRequest returns 12029

#3
From: jdorrington
Date: Tue, 11 Apr 2006 14:17
14 lines
1916 bytes
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.
Technical Details
Message-ID: <1144765030.371389.280670@z34g2000cwc.googlegroups.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!postnews.google.com!z34g2000cwc.googlegroups.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 115f11,13d568ea80478c6f,start
X-Google-Thread: 10baee,13d568ea80478c6f,start
X-Google-Thread: 1036eb,13d568ea80478c6f,start
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!z34g2000cwc.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: Wininet HttpSendRequest returns 12029
Date: 11 Apr 2006 07:17:10 -0700
Organization: http://groups.google.com
Lines: 15
Message-ID: <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 1144765036 30544 127.0.0.1 (11 Apr 2006 14:17:16 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Tue, 11 Apr 2006 14:17:16 +0000 (UTC)
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: z34g2000cwc.googlegroups.com; posting-host=212.95.229.246;
   posting-account=MVxGBw0AAACXGNZ6fZasJ4zW4CTS-2oE