Article View: borland.public.cppbuilder.multimedia
Article #308Re: IStream
From: Jonathan Benedicto
Date: Fri, 07 Jan 2005 15:27
Date: Fri, 07 Jan 2005 15:27
25 lines
1656 bytes
1656 bytes
Thank you very much. It fixed the problem completely. -- Jonathan "Remy Lebeau (TeamB)" <no.spam@no.spam.com> wrote in message news:41de40f5$1@newsgroups.borland.com... > > "Jonathan Benedicto" <incorrect@no.server> wrote in message > news:41de1a07$1@newsgroups.borland.com... > >> hr = > pReaderAdvanced2->OpenStream((IStream*)(pStreamAdapter), this, NULL); > > That should be this instead: > > hr = pReaderAdvanced2->OpenStream(*pStreamAdapter, this, NULL); > > TStreamAdapter has an IStream* conversion operator, but you have to > dereference the pointer to get to it. > > > Gambit > >
Technical Details
Message-ID:
<41deaa7c@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!proxad.net!fr.ip.ndsoftware.net!border2.nntp.ams.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!pe2.news.blueyonder.co.uk!blueyonder!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mailReferences:
<41de1a07$1@newsgroups.borland.com> <41de40f5$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 10d0fc,cf8745dfddf3940b X-Google-Attributes: gid10d0fc,public X-Google-Language: ENGLISH,ASCII-7-bit From: "Jonathan Benedicto" <incorrect@no.server> Newsgroups: borland.public.cppbuilder.multimedia References: <41de1a07$1@newsgroups.borland.com> <41de40f5$1@newsgroups.borland.com> Subject: Re: IStream Date: Fri, 7 Jan 2005 10:27:58 -0500 Lines: 27 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.2180 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 X-RFC2646: Format=Flowed; Original NNTP-Posting-Host: 64.231.6.22 Message-ID: <41deaa7c@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1105111676 64.231.6.22 (7 Jan 2005 07:27:56 -0800) Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!proxad.net!fr.ip.ndsoftware.net!border2.nntp.ams.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!pe2.news.blueyonder.co.uk!blueyonder!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail