🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.internet.web
Article #489

Re: Downloading and resuming

#489
From: Will Bright
Date: Tue, 07 Nov 2006 02:00
22 lines
1563 bytes
>Try this:
>
>    LPTSTR szAcceptTypes[] = {"*.*", NULL};


I have it boiled down to about two errors now.

		hFile = HttpOpenRequest(hSession, "HEAD", edtURL->Text.c_str(), "HTTP/1.1",
								NULL, szAcceptTypes, INTERNET_FLAG_RELOAD, 0);
[C++ Error] Unit1.cpp(87): E2034 Cannot convert 'char * *' to 'const char * *'
[C++ Error] Unit1.cpp(87): E2342 Type mismatch in parameter 'lplpszAcceptTypes' (wanted 'const char * *', got 'char * *')

I had a problem with one of the variables, but I think it was
just not given the correct name.  I will see if it works when
I finally get it all to compile.


Thanks again


Will
Technical Details
Message-ID: <454ff6ea$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news2.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
References: <454f7d80$1@newsgroups.borland.com> <454fa637$1@newsgroups.borland.com> <454fb7d0$1@newsgroups.borland.com> <454fe1a9$2@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.147.53     
References: <454f7d80$1@newsgroups.borland.com> <454fa637$1@newsgroups.borland.com> <454fb7d0$1@newsgroups.borland.com> <454fe1a9$2@newsgroups.borland.com>
NNTP-Posting-Host: 207.105.83.66
Message-ID: <454ff6ea$1@newsgroups.borland.com>
Date: 6 Nov 2006 19:00:58 -0700
X-Trace: newsgroups.borland.com 1162868458 207.105.83.66 (6 Nov 2006 19:00:58 -0700)
Lines: 23
Path: arc1-ca.pugleaf.net!g2news2.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