Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6130253
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T16:50:12+00:00 2026-05-23T16:50:12+00:00

Every example in the directshow.net samples folder (marked 2010-February) compiles fine, and those that

  • 0

Every example in the directshow.net samples folder (marked “2010-February”) compiles fine, and those that play videos from files work great. However, every example that tries to enumerate the FilterCategory.VideoInputDevices always fails to find any of my filters, specifically DsDevice.GetDevicesOfCat(FilterCategory.VideoInputDevice);
always returns that I have no devices. This same problem occurs for me in every other program that uses directshow.net, like touchless and the various examples on codeplex.

I’ve got four video input filters installed (1 webcam and 3 screen-capturing filters) and they’re found/usable by the graph editor that comes with the Windows SDK and the rl Filter Manager. Both programs list the four filters under “Video Capture Sources” and each Moniker starts with the correct GUID that directshow.net’s FilterCategory.VideoInputDevices points to (“860BB310-5D01-11D0-BD3B-00A0C911CE86”).

I’ve tried compiling and using the latest directshow.net dll myself, but nothing changed.

Is there some reason why the wrapper can get the video rendering filters fine but not enumerate video capturing ones? I’m on win7 sp1, 64bit, using visual C# 2010 express. Is something in my environment causing this? I’d gladly handle the change myself if I knew what is causing it.

Thank you for your time.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T16:50:13+00:00Added an answer on May 23, 2026 at 4:50 pm

    I copied the code for GetDevicesOfCat into my project and started debugging it. If I handed it any FilterCategory other than VideoInputDevice, it would get most of the filters that GraphEdit lists, but it was still missing some in most of the categories. I guessed that there was some property of the filters that made them unobtainable to my compiled version of GetDevicesOfCat.

    It turns out simply switching my platform target to x86 does the trick, though it’s not as straightfoward in VS2010 Express (for a fresh install, you’ll have to follow the second answer before you do the first):
    Change target CPU settings in Visual Studio 2010 Express

    The program now successfully enumerates all of my filters.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Provide an example for the pseudo-regex: Match every url except those from example.com and
In the following example should I expect that values.size() will be called every time
Every example of tracing in .NET people remove the Default listener: <configuration> <system.diagnostics> <sources>
I see from every example for the appengine datastore that it is important to
For every example of registering .NET COM objects in the web, I see the
in the book that i'm reading, every example of GUI with multithreading has something
This may seem trivial but every example I've ever seen of ADO.net almost always
Every example I've seen of CGI/Perl basically a bunch of print statements containing HTML,
Every example I can find is in C++, but I'm trying to keep my
Every example I've seen on the web, e.g. http://www.codeproject.com/KB/docview/jms_to_jms_bridge_activem.aspx , creates a publisher and

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.