Article View: borland.public.cppbuilder.internet.web
Article #496Re: Downloading and resuming
From: Will Bright
Date: Wed, 08 Nov 2006 12:50
Date: Wed, 08 Nov 2006 12:50
15 lines
1588 bytes
1588 bytes
This error seems to be the most consistent
if(!HttpQueryInfo(hFile, HTTP_QUERY_CONTENT_LENGTH | HTTP_QUERY_FLAG_NUMBER,
(LPVOID)&dwContentLen, &dwBufLen, 0))
{
ListBox1->Items->Add("HttpQueryInfo() " + SysErrorMessage(GetLastError()));
throw Exception("Failed to obtain the length of the file");
}
GetLastError() gives me nothing in my listbox, but the message
"Failed to obtain the length of the file" I do get that one.
Will
Technical Details
Message-ID:
<4551e0b0$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!news3.google.com!news.germany.com!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<454f7d80$1@newsgroups.borland.com> <454fa637$1@newsgroups.borland.com> <454fb7d0$1@newsgroups.borland.com> <454fe1a9$2@newsgroups.borland.com> <454ff6ea$1@newsgroups.borland.com> <4550497c@newsgroups.borland.com> <45512485$1@newsgroups.borland.com> <45512675@newsgroups.borland.com> <45515872$1@newsgroups.borland.com> <45516b6e$1@newsgroups.borland.com> <4551df26@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: feeec,f20f86396ab98121 X-Google-Attributes: gidfeeec,public X-Google-Language: ENGLISH,ASCII-7-bit From: "Will Bright" <no@spam.com> Sender: "Will Bright" <no@spam.com> Reply-To: "Will Bright" <no@spam.com> Subject: Re: Downloading and resuming Newsgroups: borland.public.cppbuilder.internet.web X-User-Info: 66.61.145.120 References: <454f7d80$1@newsgroups.borland.com> <454fa637$1@newsgroups.borland.com> <454fb7d0$1@newsgroups.borland.com> <454fe1a9$2@newsgroups.borland.com> <454ff6ea$1@newsgroups.borland.com> <4550497c@newsgroups.borland.com> <45512485$1@newsgroups.borland.com> <45512675@newsgroups.borland.com> <45515872$1@newsgroups.borland.com> <45516b6e$1@newsgroups.borland.com> <4551df26@newsgroups.borland.com> NNTP-Posting-Host: 207.105.83.66 Message-ID: <4551e0b0$1@newsgroups.borland.com> Date: 8 Nov 2006 05:50:40 -0700 X-Trace: newsgroups.borland.com 1162993840 207.105.83.66 (8 Nov 2006 05:50:40 -0700) Lines: 16 Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!news3.google.com!news.germany.com!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail