Article View: borland.public.cppbuilder.internet.web
Article #494Re: Downloading and resuming
From: Remy Lebeau (TeamB)
Date: Wed, 08 Nov 2006 05:21
Date: Wed, 08 Nov 2006 05:21
31 lines
2250 bytes
2250 bytes
"Will Bright" <no@spam.com> wrote in message news:45515872$1@newsgroups.borland.com... > Apparently my hFile handle seems to be invalid after I get > here at the HttpAddRequestHeaders() func. That is not true. There is nothing to invalidate the handle between the time it is created by HttoOpenRequest() and the time the range header is added by HttpAddRequestHeaders(). Especially since the handle is not used for anything in between those two operations. You said the error was coming from HttpQueryInfo(). Are you changing your mind now? > the hSession was used to do the InternetConnect() and then > used by the HttpOpenRequest(). Which is perfectly fine. I will have to debug a bit more > because I just don't see right now how the handle is becoming > invalid. It can't be. Your error has to be something else. Where EXACTLY is the error actually occuring? You said one thing earlier, and now you are saying something different. And what EXACTLY does GetLastError() actually return when the error does occur? Gambit
Technical Details
Message-ID:
<45516b6e$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!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>Show Full Headers
Complete Article Headers
X-Google-Thread: feeec,f20f86396ab98121 X-Google-Attributes: gidfeeec,public X-Google-Language: ENGLISH,ASCII-7-bit From: "Remy Lebeau \(TeamB\)" <no.spam@no.spam.com> Newsgroups: borland.public.cppbuilder.internet.web 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> Subject: Re: Downloading and resuming Date: Tue, 7 Nov 2006 21:21:39 -0800 Lines: 33 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1409 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 NNTP-Posting-Host: 69.169.4.232 Message-ID: <45516b6e$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1162963822 69.169.4.232 (7 Nov 2006 21:30:22 -0700) Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail