uk.co.mmscomputing.device.twain.TwainIOException:无法加载Twain Source Manager

时间:2013-05-02 15:54:02

标签: device scanning twain

我每次使用uk.co.mmscomputing.device lib来扫描我的计算机上的图像32位,但是当我使用64位系统将项目切换到另一台计算机时

我收到了这个错误=(

uk.co.mmscomputing.device.twain.TwainIOException: Cannot load Twain Source Manager.
at uk.co.mmscomputing.device.twain.jtwain.getSourceManager(jtwain.java:126)
at uk.co.mmscomputing.device.twain.jtwain.select(jtwain.java:154)
at uk.co.mmscomputing.device.twain.TwainScanner.select(TwainScanner.java:25)
at scan.TwainAppletExample.actionPerformed(TwainAppletExample.java:81)
at java.awt.Button.processActionEvent(Button.java:392)
at java.awt.Button.processEvent(Button.java:360)
at java.awt.Component.dispatchEventImpl(Component.java:4630)
at java.awt.Component.dispatchEvent(Component.java:4460)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)

我整天搜索但没有结果。谢谢你的回答

2 个答案:

答案 0 :(得分:1)

问题的可能原因是您的计算机上没有64位TWAIN DSM。尝试将您的应用程序作为32位运行并再次测试。

答案 1 :(得分:0)

下载适用于64位的TWAINDSM.DLL并将其放入C:/ windows / system32