- From: Shankara Narayanan, Jayaraman <J.Shankar@commerzbank.com>
- Date: Tue, 28 Aug 2001 09:32:10 +0200
- To: "'Bang, Steinar'" <Steinar.bang@tandbergtv.com>
- Cc: "'www-lib@w3.org'" <www-lib@w3.org>
Well - I dont specify anything. We use the HTChunkToCString function which chops off. But the size in the Chunk is correct and I got the image in the chunk. My problem is how to pass it to the netscape communicator back ? Ours is like this Client ------> Netscape ------------------>MyModule with Libwww------------->IIS IIS------------>MyModule-------------->Netscape------------------>Client. Now passing back to Netscape - how do I do that ? With Best Regds Shankara Narayanan ************************************* Motivation is what gets you started. Habit is what keeps you going. --Jim Ryuh ************************************* -----Ursprüngliche Nachricht----- Von: Bang, Steinar [mailto:Steinar.bang@tandbergtv.com] Gesendet: Dienstag, 28. August 2001 09:29 An: 'Shankara Narayanan, Jayaraman'; 'www-lib@w3.org' Betreff: RE: URGENT HELP newbie : Retrieving GIF 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:32:49 UTC