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