Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.basic.visual.misc > #845

VB6 and DirectShow

Subject VB6 and DirectShow
From Jim Mack <no-uce-ube@mdxi.com>
Newsgroups microsoft.public.vb.general.discussion, comp.lang.basic.visual.misc
Date 2012-02-27 17:50 -0500
Message-ID <6LidnTtbJYI7ldHSnZ2dnUVZ_vKdnZ2d@giganews.com> (permalink)

Cross-posted to 2 groups.

Show all headers | View raw


It's quite easy to write custom video players in VB6 using WMP.dll. 
I've done it many times in various flavors. But I recently needed a 
little better control so I dove back into the Active Movie library 
(DirectShow) via Quartz.dll.

To do the basic stuff is relatively simple, but with power and control 
comes complexity, and there's little (no) VB6 documentation for this 
library beyond the basics. And when it doesn't work, it offers only the 
vaguest of reasons.

What I'm facing is that some clips (appear to) render correctly, 
building a graph with what it thinks are the correct filters while 
throwing no errors, but the resulting graph will not run -- attempting 
the .Run method throws the generic Automation error C00D002B which is 
supposedly "incorrect file name". But it finds and renders the file 
with no problems, and WMP (standalone and via WMP.DLL) plays the file 
OK.

So, is there a good, comprehensive and well-exampled source of info on 
using Quartz.dll directly? The MSDN entry is fine as far as it goes ( 
http://msdn.microsoft.com/en-us/library/dd407357%28v=vs.85%29.aspx ) 
but it's just not deep enough to solve this kind of problem.

Grasping here... any feedback is welcome.

-- 
        Jim

Back to comp.lang.basic.visual.misc | Previous | NextNext in thread | Find similar


Thread

VB6 and DirectShow Jim Mack <no-uce-ube@mdxi.com> - 2012-02-27 17:50 -0500
  Re: VB6 and DirectShow "Farnsworth" <nospam@nospam.com> - 2012-02-27 20:31 -0500
    Re: VB6 and DirectShow Jim Mack <no-uce-ube@mdxi.com> - 2012-02-27 21:03 -0500

csiph-web