Re: MIDL or C++ interface ?
From: Alessandro Angeli [MVP::DigitalMedia] (nobody_at_nowhere.in.the.net)
Date: 03/01/05
- Next message: Patsy: "Re: Using DirectShow to capture image from webcam"
- Previous message: Rhett Gong [MSFT]: "Re: VMR9 Mixing Mode - and MultiVMR9"
- In reply to: The March Hare [MVP]: "Re: MIDL or C++ interface ?"
- Next in thread: Bernie: "Re: MIDL or C++ interface ?"
- Reply: Bernie: "Re: MIDL or C++ interface ?"
- Reply: The March Hare [MVP]: "Re: MIDL or C++ interface ?"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 1 Mar 2005 08:51:16 +0100
The March Hare [MVP] wrote:
>> The only reason I use IDL is for the type library. I'm
>> not a particular fan of VB, but there are plenty of
>> people who use VB with DirectShow via the tools on my
>> site. Using an IDL plus a few bits and pieces of glue
>> makes it pretty easy to enable VB access to your custom
>> interface.
>
> A very good point and one I wasn't aware of. Thanks for
> educating me (again).
This use is what I mentioned in my post (VB is an automation
client) however I still fail to see what use it is for a DS
filter, since the supplied automation wrapper for DS does
not provide any direct access to the filters but for the
IFilterInfo.Filter property, which however returns a
non-automation compatible IBaseFilter as an IUnknown, or is
it possible in VB to cast (QI) this reference to some other
IDispatch-derived interface implemented by the object?
-- // Alessandro Angeli // MVP :: Digital Media // a dot angeli at psynet dot net
- Next message: Patsy: "Re: Using DirectShow to capture image from webcam"
- Previous message: Rhett Gong [MSFT]: "Re: VMR9 Mixing Mode - and MultiVMR9"
- In reply to: The March Hare [MVP]: "Re: MIDL or C++ interface ?"
- Next in thread: Bernie: "Re: MIDL or C++ interface ?"
- Reply: Bernie: "Re: MIDL or C++ interface ?"
- Reply: The March Hare [MVP]: "Re: MIDL or C++ interface ?"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|