WIA services 2, download and install on windows xp / 7

眉间皱痕 提交于 2019-12-10 23:36:43

问题


I've written a application that scans images from a scanner. this works fine on my development machine (win7 ultimate sp1 64bit).

i've tried to run the app on a windows xp machine (or windows server 2008 standard) and it failed with this error

System.Runtime.InteropServices.COMException (0x80040154): Retrieving the COM class factory for component with CLSID {E1C5D730-7E97-4D8A-9E42-BBAE87C2059F} failed due to the following error: 80040154 Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG)).

it seems that the machines are missing the WIA dlls.

when looking around microsoft site for the installation files, i've failed to find them.

so my question are, where can i find the installation files ? and can i install WIA 2 on XP?

OrenL


回答1:


The error message means the control is not installed properly on the machine (your windows xp and windows server 2008).

Are you developing a control to implement the image scanning feature? If yes, you need to register the dll file you've created on the client machine, not the WIA dll.




回答2:


The answer in this question has a link to the SDK download until Microsoft gets its act together.

WIA Scanning issues on XP



来源:https://stackoverflow.com/questions/12049092/wia-services-2-download-and-install-on-windows-xp-7

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!