Puma .NET异常'System.Runtime.InteropServices.COMException'

萨拉·阿尔沙尔(Salah Alshaal)

尝试识别文件夹中的一组图像(使用Puma .NET OCR库),第一个图像被成功识别,但是此后出现错误:

An unhandled exception of type 'System.Runtime.InteropServices.COMException' 
occurred in Puma.Net.dll

Additional information: <0x00000000>: ?????? ???.

我有一个特殊的识别类,错误发生在这一行:

Puma.Net.PumaPage inputFile = new Puma.Net.PumaPage(imagePath);

我发现这个链接这一个,但他们似乎并没有帮助我的情况下做的。

谢谢

萨拉·阿尔沙尔(Salah Alshaal)

我通过使用“ using”语句找到了答案

 using(Puma.Net.PumaPage inputFile = new Puma.Net.PumaPage(imagePath))
        {
        }

本文收集自互联网,转载请注明来源。

如有侵权,请联系[email protected] 删除。

编辑于
0

我来说两句

0条评论
登录后参与评论

相关文章

来自分类Dev

未处理的异常:System.Runtime.InteropServices.COMException(0x800A03EC)

来自分类Dev

HRESULT的异常:System.Runtime.InteropServices.COMException的0x8002000B(DISP_E_BADINDEX)

来自分类Dev

查询AD引发System.Runtime.InteropServices.COMException

来自分类Dev

System.Runtime.InteropServices.COMException(0x8004100F)

来自分类Dev

System.Runtime.InteropServices.COMException:类未注册

来自分类Dev

如何更正“System.Runtime.InteropServices.COMException”的这个错误?

来自分类Dev

使用服务结构时出现 System.Runtime.InteropServices.COMException

来自分类Dev

Windows 8.1存储应用程序中InkManager的使用崩溃到System.Runtime.InteropServices.COMException异常

来自分类Dev

InternetExplorer COMException:System.Runtime.InteropServices.COMexception:RPC服务器不可用

来自分类Dev

Postsharp引发System.Runtime.InteropServices.COMException(0x8013141C):找不到强名称密钥容器。(来自HRESULT的异常:0x8013141C)

来自分类Dev

仅在Windows服务中:System.Runtime.InteropServices.COMException(0x800A03EC):HRESULT的异常:0x800A03EC

来自分类Dev

COM引用存在问题:System.Runtime.InteropServices.COMException:使用CLSID创建COM组件的实例

来自分类Dev

DNN服务器-System.Runtime.InteropServices.COMException:数据无效

来自分类Dev

是什么导致BackgroundAudioPlayer.get_Position()出现System.Runtime.InteropServices.COMException?

来自分类Dev

System.Runtime.InteropServices.COMException:设备尚未准备好

来自分类Dev

未能创建组件“reportviewer”。错误消息遵循'system.runtime.interopservices.comexception' vs 2015

来自分类Dev

System.Runtime.InteropServices.COMException HRESULT:0x800A03EC ObjectCharts Paste

来自分类Dev

System.Runtime.InteropServices.COMException (0x80030020): 操作失败

来自分类Dev

尝试在两个WPF应用程序之间拖放时发生System.Runtime.InteropServices.COMException

来自分类Dev

System.Runtime.InteropServices.COMException发生在mscorlib.ni.dll中,但未在用户代码中处理

来自分类Dev

System.Runtime.InteropServices.COMException:“此操作的源对象不合适”。在检索连接的形状时被识别

来自分类Dev

我一直在获取System.Runtime.InteropServices.COMException(0x80028018):旧格式或无效的类型库。错误

来自分类Dev

资源管理器预览导致System.Runtime.InteropServices.COMException:不授予自动化权限。在ActivePresentation.name上

来自分类Dev

资源管理器预览导致System.Runtime.InteropServices.COMException:不授予自动化权限。在ActivePresentation.name上

来自分类Dev

我一直在获取System.Runtime.InteropServices.COMException(0x80028018):旧格式或无效的类型库。错误

来自分类Dev

错误:“ System.Runtime.InteropServices.SEHException”

来自分类Dev

ubuntu 14.04上的dnx网站引发“ System.Runtime.InteropServices.Marshal”异常(1.0.0-beta8)

来自分类Dev

“ System.Runtime.InteropServices.dll”和“ System.Runtime.Handles.dll”中都存在类型“ System.Runtime.InteropServices.SafeHandle”

来自分类Dev

网络Controller.exe中发生类型为'System.Runtime.InteropServices.SEHException'的第一次机会异常

Related 相关文章

  1. 1

    未处理的异常:System.Runtime.InteropServices.COMException(0x800A03EC)

  2. 2

    HRESULT的异常:System.Runtime.InteropServices.COMException的0x8002000B(DISP_E_BADINDEX)

  3. 3

    查询AD引发System.Runtime.InteropServices.COMException

  4. 4

    System.Runtime.InteropServices.COMException(0x8004100F)

  5. 5

    System.Runtime.InteropServices.COMException:类未注册

  6. 6

    如何更正“System.Runtime.InteropServices.COMException”的这个错误?

  7. 7

    使用服务结构时出现 System.Runtime.InteropServices.COMException

  8. 8

    Windows 8.1存储应用程序中InkManager的使用崩溃到System.Runtime.InteropServices.COMException异常

  9. 9

    InternetExplorer COMException:System.Runtime.InteropServices.COMexception:RPC服务器不可用

  10. 10

    Postsharp引发System.Runtime.InteropServices.COMException(0x8013141C):找不到强名称密钥容器。(来自HRESULT的异常:0x8013141C)

  11. 11

    仅在Windows服务中:System.Runtime.InteropServices.COMException(0x800A03EC):HRESULT的异常:0x800A03EC

  12. 12

    COM引用存在问题:System.Runtime.InteropServices.COMException:使用CLSID创建COM组件的实例

  13. 13

    DNN服务器-System.Runtime.InteropServices.COMException:数据无效

  14. 14

    是什么导致BackgroundAudioPlayer.get_Position()出现System.Runtime.InteropServices.COMException?

  15. 15

    System.Runtime.InteropServices.COMException:设备尚未准备好

  16. 16

    未能创建组件“reportviewer”。错误消息遵循'system.runtime.interopservices.comexception' vs 2015

  17. 17

    System.Runtime.InteropServices.COMException HRESULT:0x800A03EC ObjectCharts Paste

  18. 18

    System.Runtime.InteropServices.COMException (0x80030020): 操作失败

  19. 19

    尝试在两个WPF应用程序之间拖放时发生System.Runtime.InteropServices.COMException

  20. 20

    System.Runtime.InteropServices.COMException发生在mscorlib.ni.dll中,但未在用户代码中处理

  21. 21

    System.Runtime.InteropServices.COMException:“此操作的源对象不合适”。在检索连接的形状时被识别

  22. 22

    我一直在获取System.Runtime.InteropServices.COMException(0x80028018):旧格式或无效的类型库。错误

  23. 23

    资源管理器预览导致System.Runtime.InteropServices.COMException:不授予自动化权限。在ActivePresentation.name上

  24. 24

    资源管理器预览导致System.Runtime.InteropServices.COMException:不授予自动化权限。在ActivePresentation.name上

  25. 25

    我一直在获取System.Runtime.InteropServices.COMException(0x80028018):旧格式或无效的类型库。错误

  26. 26

    错误:“ System.Runtime.InteropServices.SEHException”

  27. 27

    ubuntu 14.04上的dnx网站引发“ System.Runtime.InteropServices.Marshal”异常(1.0.0-beta8)

  28. 28

    “ System.Runtime.InteropServices.dll”和“ System.Runtime.Handles.dll”中都存在类型“ System.Runtime.InteropServices.SafeHandle”

  29. 29

    网络Controller.exe中发生类型为'System.Runtime.InteropServices.SEHException'的第一次机会异常

热门标签

归档