Re: A puzzling question
From: Simon Trew (ten.egnaro_at_werts)
Date: 03/05/04
- Next message: Ed: "SAFEARRAY parameters"
- Previous message: Tatyana: "CDateTimePickerCtrl color"
- In reply to: Igor Tandetnik: "Re: A puzzling question"
- Next in thread: Igor Tandetnik: "Re: A puzzling question"
- Reply: Igor Tandetnik: "Re: A puzzling question"
- Messages sorted by: [ date ] [ thread ]
Date: Fri, 5 Mar 2004 15:16:22 -0000
"Igor Tandetnik" <itandetnik@mvps.org> wrote in message
news:ucw1Y6rAEHA.1212@TK2MSFTNGP12.phx.gbl...
> "Simon Trew" <ten.egnaro@werts> wrote in message
> But anyway, I don't think that that would definitely be equivalent
> (because the
> > guarantees for IUnknown don't have to apply to other interfaces).
>
> I'm not sure what you are saying here. Can you explain a specific
> scenario that worries you?
A simple case would be if a class factory succeeded/failed depending on the
IID passed in. Then obviously it could be made to work for IID_IMyInterface
but not for IID_IUnknown. So it would appear to me that COM has to honor
which IID is passed to the class factory for the CreateInstance call.
Perhaps you will tell me that class factories are not allowed to do this?
S.
- Next message: Ed: "SAFEARRAY parameters"
- Previous message: Tatyana: "CDateTimePickerCtrl color"
- In reply to: Igor Tandetnik: "Re: A puzzling question"
- Next in thread: Igor Tandetnik: "Re: A puzzling question"
- Reply: Igor Tandetnik: "Re: A puzzling question"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|