Recently i have created an app to capture images through webcam in xp using VS 2005 and it works fine but it's not working in win7 using VS 2010 it gives error:
"Retrieving the COM class factory for component with CLSID {4EC4272E-2E6F-4EEB-91D0-EBC4D58E8DEE} failed due to the following error: 80040154."
For that i used two interops
1.Interop.WIALib
2.Interop.WIAVIDEOLib
i have already registered the wiaaut.dll using regsvr32 .
Any idea! please help!!!
Loading


Suthish NairRank #92 · 22.8K reputationPosted Mar 5, 2011, 4:59 AM EST
Vijay YadavRank #1,637 · 943 reputationPosted Mar 5, 2011, 5:04 AM EST
I got your point, would try for win7 dll.
And congratulations to become the part of Mindcracker MVP.
Suthish NairRank #92 · 22.8K reputationPosted Mar 5, 2011, 5:17 AM EST
check following path for .dll if already installed..
Sam HobbsRank #107 · 20.5K reputationPosted Mar 5, 2011, 11:09 AM EST
Vijay YadavRank #1,637 · 943 reputationPosted Mar 6, 2011, 7:06 PM EST
As you said i checked the path in common,office12 and in ofice14 there is no dll like Interop.WIALib and Interop.WIAVIDEOLib and in my application i have taken this by adding reference in com object.
Any suggestion, please help!!!
and Sam, it is already in x86. so any idea?
Suthish NairRank #92 · 22.8K reputationPosted Mar 7, 2011, 9:35 AM EST
Vijay YadavRank #1,637 · 943 reputationPosted Apr 14, 2011, 1:43 AM EDT