Re: MIDL or C++ interface ?

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance

From: Alessandro Angeli [MVP::DigitalMedia] (nobody_at_nowhere.in.the.net)
Date: 03/01/05


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


Relevant Pages

  • Re: wmplayer.exe codec resolution BUG [???]
    ... more limited in its capabilities than DirectShow. ... the media types must be set up correctly and there ... // Alessandro Angeli ... // a dot angeli at psynet dot net ...
    (microsoft.public.win32.programmer.directx.video)
  • Re: No audio if I play a .mp3 file with DirectShow
    ... The March Hare [MVP] wrote: ... in the class Clsid of DShowNet.dll there are only ... // Alessandro Angeli ... // a dot angeli at psynet dot net ...
    (microsoft.public.win32.programmer.directx.audio)
  • Re: Get File System Type
    ... The March Hare [MVP] wrote: ... > Not sure what this has to do with Windows Media, ... // Alessandro Angeli ... // a dot angeli at psynet dot net ...
    (microsoft.public.windowsmedia.sdk)
  • Re: mpeg2 as video texture
    ... The March Hare [MVP] wrote: ... It's an important dshow ... // Alessandro Angeli ... // a dot angeli at psynet dot net ...
    (microsoft.public.win32.programmer.directx.video)
  • Re: Trouble with asf reader output pin configuration
    ... Expand the m.p.windowsmedia node in the main newsgroup list: ... since it's a problem about the DirectShow WM wrapper. ... // Alessandro Angeli ... // a dot angeli at psynet dot net ...
    (microsoft.public.win32.programmer.mmedia)