[prev in list] [next in list] [prev in thread] [next in thread]
List: mozilla-ui
Subject: Re: Netscape.Network.1 ole object : How to download and store Gif
From: lab () bounceit ! net ! netscape ! com
Date: 1999-03-25 3:26:39
[Download RAW message or body]
PJ Durai wrote:
>
> Hello people,
> I am trying to download files using Netscape.Network.1 ole object.
>
> After Open() function, the Read function returns a BSTR whose contents look
> like DoubleByte charecters. ( this works out ok for text (html ) files
> download. All I do is cast the _bstr() to LPCTSTR and I get the proper text
> buffer. But a gif file gets corrupted whichever way I try to store it. I
> have tried MultiByte->SingleByte conversion, walked thru the buffer myself
> try to store only the LeadByte of every two bytes. Nothing seems to work.
>
> Is there a standard conversion to do this stuff. Or am I doing something
> wrong.
> Any pointers appreciated.
>
> Appreciate your time.
>
> pj
ALL of the netscape.public.mozilla groups are for developers of the new
5.0 system.
Cross posting to a number of groups is most rude.
Try finding a developer's group on secnews.netscape.com
LB
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic