Re: Checking the existence of a method in an Interface
- From: "Igor Tandetnik" <itandetnik@xxxxxxxx>
- Date: Fri, 25 Apr 2008 09:01:00 -0400
"Vi2" <sharachov@xxxxxxxxxxx> wrote in message
news:e312a3c3-22b9-425b-a9cf-a3cc8bcf4b63@xxxxxxxxxxxxxxxxxxxxxxxxxxxx
"Published" is an informal, subjective concept. If the authors
document the interface and say you can use it now, they've
effectively published it and must commit to keeping it unchanged: if
they don't, it's squarely their fault. If they never documented it,
but you figured it out by, say, reverse-engineering some of their
files, I guess they can argue that the maintenance burden is on you:
as far as they are concerned, you were never supposed to use this
interface, so they have no qualms changing it.
Do you suppose that I made the "reverse-engineering"? I use the
#import directives and possibilities from MS products (VB and OLE
View).
I'm not saying MS is in the right and you are in the wrong. I believe MS
made a mistake in distributing these TLBs. Having said that, and
regardless of whose fault it is, one obviously is not supposed to use
the vtable parts of these dual interfaces: if one does, he or she will
have difficulty with different Office versions. On the other hand, the
late-bound parts seem to carefully maintain backward compatibility.
Further, just because MS does a bad thing, it's not reason enough to go
and emulate them, as the OP's vendor appears to have done.
--
With best wishes,
Igor Tandetnik
With sufficient thrust, pigs fly just fine. However, this is not
necessarily a good idea. It is hard to be sure where they are going to
land, and it could be dangerous sitting under them as they fly
overhead. -- RFC 1925
.
- References:
- Checking the existence of a method in an Interface
- From: gshetty
- Re: Checking the existence of a method in an Interface
- From: Vi2
- Re: Checking the existence of a method in an Interface
- From: Igor Tandetnik
- Re: Checking the existence of a method in an Interface
- From: Vi2
- Re: Checking the existence of a method in an Interface
- From: Igor Tandetnik
- Re: Checking the existence of a method in an Interface
- From: Vi2
- Re: Checking the existence of a method in an Interface
- From: Igor Tandetnik
- Re: Checking the existence of a method in an Interface
- From: Vi2
- Checking the existence of a method in an Interface
- Prev by Date: Re: Checking the existence of a method in an Interface
- Next by Date: My VC++ 6 does not provide "support connection points" checkbox or "implement connection point" wizard
- Previous by thread: Re: Checking the existence of a method in an Interface
- Next by thread: Re: Checking the existence of a method in an Interface
- Index(es):
Relevant Pages
|