Re: Checking the existence of a method in an Interface
- From: Vi2 <sharachov@xxxxxxxxxxx>
- Date: Tue, 22 Apr 2008 20:48:40 -0700 (PDT)
On 22 апр, 13:33, gshetty <gshett...@xxxxxxxxx> wrote:
Is it possible to verify whether a method exists in a interface beforeYou can do it by ITypeInfo describing this interface. Usually such
calling it? I call a method within an interface in a third party COM
Dll. But my application crashes when it is run with an older version
of the same Dll that does not contain the specific method within that
Interface..
interfaces are dual ones, so you can use either GetIDsOfNames or
GetTypeInfo.
PS
To Anatoly and Igor: Look at type library of any MS product (Word,
Excel etc), and you will see "violation of the fundamental
principles". ;)
.
- Follow-Ups:
- Re: Checking the existence of a method in an Interface
- From: Igor Tandetnik
- Re: Checking the existence of a method in an Interface
- References:
- Checking the existence of a method in an Interface
- From: gshetty
- Checking the existence of a method in an Interface
- Prev by Date: Word Addin With ATL
- Next by Date: Re: Checking the existence of a method in an Interface
- 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
|