W3C home > Mailing lists > Public > www-lib@w3.org > July to September 2001

RE: URGENT HELP newbie : Retrieving GIF

From: Bang, Steinar <Steinar.bang@tandbergtv.com>
Date: Tue, 28 Aug 2001 09:29:02 +0200
Message-ID: <194F8BB4FDB2D311B4010008C733C77401594DAD@no-mail.oslo.tandbergtv.lan>
To: "'Shankara Narayanan, Jayaraman'" <J.Shankar@commerzbank.com>, "'www-lib@w3.org'" <www-lib@w3.org>
Shankara Narayanan, Jayaraman wrote:

>> We use the HTLoadAnchorToChunk method to get the 
>> desired page.
> When we are trying to convert this chunk to
> CString - I am not able to get the whole
> string and pass it to the caller which is
> Netscape Server.

Does the constructor of CString expect to get a
0-terminated "char*" buffer?  Or do you specify
the length explicitly?

If it expects a 0-terminated buffer, it will
chop off the chunk at the first 0 (and binary
files may well contain zeros).
This email, its content and any attachments is PRIVATE AND CONFIDENTIAL to
TANDBERG Television. If received in error please notify the sender and
destroy the original message and attachments.
Received on Tuesday, 28 August 2001 03:29:35 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:33:54 UTC