DShow and CLSID

Apr 21, 2010 at 9:09 PM

Hi, dude.

I know this isn't really related with MediaKit, but since you must have dealt quite a lot with DShow Filters, and having spent quite a few hours on the net without any success, I'll just ask you as a last resort before I fall back to something more "manual".

I've seen that in your EVRPresenter you consume it by providing the CLSID in a hard-coded fashion.

would that even be possible to query the COM object and get it programmatically ?

I've tried with LoadTypeLibEx (with the shipped oleaut32.dll on my 64bit system) and a bit of P/Invoke, but keep getting a TYPE_E_CANTLOADLIBRARY COMException.

If you happen to have done it in the past or know how to do it, a hint would be much appreciated ;) 

-Salfab