Re: Replacements for IsValidIID and IsValidInterface
From: Brian Muth (bmuth_at_mvps.org)
Date: 01/10/05
- Next message: Andrew S. Giles: "Re: ATL Server Class Method Implementation question"
- Previous message: David Liebtag: "Replacements for IsValidIID and IsValidInterface"
- In reply to: David Liebtag: "Replacements for IsValidIID and IsValidInterface"
- Next in thread: David Liebtag: "Re: Replacements for IsValidIID and IsValidInterface"
- Reply: David Liebtag: "Re: Replacements for IsValidIID and IsValidInterface"
- Messages sorted by: [ date ] [ thread ]
Date: Mon, 10 Jan 2005 11:38:35 -0800
I can see why they are obsolete: I cannot for the life of me think of a
valid reason for their existance. If all you know is the value of an REFIID,
then what have you gained by learning whether it is valid or not? You still
need to know its methods and properties and how to use it.... knowledge
which is designated by this value. If you don't have this knowledge, then
even if the interface is defined it is of no help to you. And if you already
have this knowledge, then just call QueryInterface on the object at hand,
and this will tell you whether the object supports it or not.
Brian
"David Liebtag" <DavidLiebtag@vermontel.net> wrote in message
news:1105384369.109235@vader.vermontel.net...
> There used to be functions names IsValidIID and IsValidInterface. They
are
> now obsolete.
>
> Can anyone suggest what I can use as a replacement to validate whether an
> arbitrary value is an interface?
>
> Thank you.
>
> David Liebtag
>
>
>
- Next message: Andrew S. Giles: "Re: ATL Server Class Method Implementation question"
- Previous message: David Liebtag: "Replacements for IsValidIID and IsValidInterface"
- In reply to: David Liebtag: "Replacements for IsValidIID and IsValidInterface"
- Next in thread: David Liebtag: "Re: Replacements for IsValidIID and IsValidInterface"
- Reply: David Liebtag: "Re: Replacements for IsValidIID and IsValidInterface"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|