🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: borland.public.cppbuilder.multimedia
3 messages
3 total messages Started by Jonathan Benedicto Fri, 07 Jan 2005 18:41
IStream QueryInterface
#309
Author: Jonathan Benedicto
Date: Fri, 07 Jan 2005 18:41
9 lines
1187 bytes
When I write a implementation for IStream, what IID's should I support.

Eg. IID_IUnknown etc.

Thank you.

-- 
Jonathan
 
Re: IStream QueryInterface
#310
Author: Remy Lebeau (TeamB)
Date: Fri, 07 Jan 2005 20:58
14 lines
1338 bytes
"Jonathan Benedicto" <incorrect@no.server> wrote in message
news:41ded7d8$1@newsgroups.borland.com...

> When I write a implementation for IStream, what IID's should I support.
>
> Eg. IID_IUnknown etc.

You need to always support IID_IUnknown, and you need to support the IID of
every interface you actually implement/return.  In this case, you are
implementing IStream, so you need to support IID_IStream.


Gambit
Re: IStream QueryInterface
#311
Author: Jonathan Benedicto
Date: Fri, 07 Jan 2005 21:06
24 lines
1731 bytes
Thank you very much.

-- 
Jonathan

"Remy Lebeau (TeamB)" <no.spam@no.spam.com> wrote in message 
news:41def917$2@newsgroups.borland.com...
>
> "Jonathan Benedicto" <incorrect@no.server> wrote in message
> news:41ded7d8$1@newsgroups.borland.com...
>
>> When I write a implementation for IStream, what IID's should I support.
>>
>> Eg. IID_IUnknown etc.
>
> You need to always support IID_IUnknown, and you need to support the IID 
> of
> every interface you actually implement/return.  In this case, you are
> implementing IStream, so you need to support IID_IStream.
>
>
> Gambit
>
> 
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads