Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. DirectShow Blues

DirectShow Blues

Scheduled Pinned Locked Moved C / C++ / MFC
announcementvisual-studiographicsgame-devwindows-admin
3 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • T Offline
    T Offline
    Teashirt2
    wrote on last edited by
    #1

    Help. Please. How can I solve DirectShow issues. unresolved CLSID CLSID_CaptureGraphBuilder2. I can not find this in the registry either. hr = CoCreateInstance(CLSID_FilterGraph, NULL, CLSCTX_INPROC, IID_IGraphBuilder, (void **) & g_pGraph); fails. I am using Win XP, VS 2005 MS SDK February 2003 SDK Release Microsoft DirectX SDK (August 2007) Is there a version mismatch. Samples do not compile either. Thanks in advance.

    R 1 Reply Last reply
    0
    • T Teashirt2

      Help. Please. How can I solve DirectShow issues. unresolved CLSID CLSID_CaptureGraphBuilder2. I can not find this in the registry either. hr = CoCreateInstance(CLSID_FilterGraph, NULL, CLSCTX_INPROC, IID_IGraphBuilder, (void **) & g_pGraph); fails. I am using Win XP, VS 2005 MS SDK February 2003 SDK Release Microsoft DirectX SDK (August 2007) Is there a version mismatch. Samples do not compile either. Thanks in advance.

      R Offline
      R Offline
      Rajkumar R
      wrote on last edited by
      #2

      ICaptureGraphBuilder2 is an interface not the object, shall be refered as IID_ICaptureGraphBuilder2 as in ,

      CoCreateInstance( CLSID_CaptureGraphBuilder,
      NULL,
      CLSCTX_INPROC_SERVER,
      IID_ICaptureGraphBuilder2,
      (void**) &pCaptureGraphBuilder)

      ICaptureGraphBuilder2 is exposed by CaptureGraphBuilder (There is no CLSID_CaptureGraphBuilder2)

      T 1 Reply Last reply
      0
      • R Rajkumar R

        ICaptureGraphBuilder2 is an interface not the object, shall be refered as IID_ICaptureGraphBuilder2 as in ,

        CoCreateInstance( CLSID_CaptureGraphBuilder,
        NULL,
        CLSCTX_INPROC_SERVER,
        IID_ICaptureGraphBuilder2,
        (void**) &pCaptureGraphBuilder)

        ICaptureGraphBuilder2 is exposed by CaptureGraphBuilder (There is no CLSID_CaptureGraphBuilder2)

        T Offline
        T Offline
        Teashirt2
        wrote on last edited by
        #3

        Thanks for the reply. I guess I am too new to this. Still many samples from CP are not compiling. So it is not even my code. Thanks,

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups