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#
  4. problem with capturing images through webcam in win7

problem with capturing images through webcam in win7

Scheduled Pinned Locked Moved C#
comhelp
2 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.
  • P Offline
    P Offline
    prasadbuddhika
    wrote on last edited by
    #1

    i recently created an app to capture images through webcam in xp and it works fine, but for that i used two interops 1.Interop.WIALib 2.Interop.WIAVIDEOLib i read some articles saying that wia 2.0 is working with win7 , but it's not working in win7 it gives "Retrieving the COM class factory for component with CLSID {4EC4272E-2E6F-4EEB-91D0-EBC4D58E8DEE} failed due to the following error: 80040154." i have already registered the wiaaut.dll using regsvr32 . having any idea . thanx in advance.

    L 1 Reply Last reply
    0
    • P prasadbuddhika

      i recently created an app to capture images through webcam in xp and it works fine, but for that i used two interops 1.Interop.WIALib 2.Interop.WIAVIDEOLib i read some articles saying that wia 2.0 is working with win7 , but it's not working in win7 it gives "Retrieving the COM class factory for component with CLSID {4EC4272E-2E6F-4EEB-91D0-EBC4D58E8DEE} failed due to the following error: 80040154." i have already registered the wiaaut.dll using regsvr32 . having any idea . thanx in advance.

      L Offline
      L Offline
      Luc Pattyn
      wrote on last edited by
      #2

      I don't know the specific answer to your question, however I have some suggestions: 1. It could be related to the app running in 64-bit mode while some parts you refer to may have been built for 32-bit; one cannot mix both in a single process. 2. entering an error code in the Google search box often is quite useful; in your case it gives many results, including this one.[^] 3. There is at least one CodeProject article[^] on Webcam stuff mentioning the same error code, see the latest question in its forum; unfortunately for you, there isn't a reply yet. Hope this helps.

      Luc Pattyn [Forum Guidelines] [My Articles] Nil Volentibus Arduum

      Please use <PRE> tags for code snippets, they preserve indentation, improve readability, and make me actually look at the code.

      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