[UWP] ClaimedBarcodeScanner调用StartSoftwareTriggerAsync突然抛出一个异常 [英] [UWP]ClaimedBarcodeScanner call to StartSoftwareTriggerAsync throws an exception all of sudden

查看:50
本文介绍了[UWP] ClaimedBarcodeScanner调用StartSoftwareTriggerAsync突然抛出一个异常的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

使用标准BarcodeScanner样本一直在使用UWP条形码扫描应用程序。在Win10桌面上做dev,使用网络摄像头一切正常。预览工作和条形码检测非常快速和准确。然后开始使用Win 10周年纪念版测试Lumia
640。它工作了几天,虽然预览不起作用。试图开始预览说它失败了"没有足够的资源"。在错误事件中。无论如何 - 它仍然如此快速和准确,即使没有相机预览也可以使用
。 将手机放在任何地方近距离阅读好的代码。 正在研究一些UI方面,突然在调用脚趾StartSoftwareAsync调用上获得异常。抛出和异常:"连接到系统的设备
无法运行。 (HRESULT异常:0x8007001F)"。 已多次检查所有内容,重新启动手机,卸载应用程序,清理项目,重建所有内容 - 每次都一样。 也许是最近的手机更新? 
此时可能导致此错误的其他任何想法? 一些记录或方式来获得更多关于什么特别不满意的信息?

Have been working on a UWP barcode scanning app using the standard BarcodeScanner sample. Doing dev on a Win10 desktop, all works well using the webcam. Preview works and barcode detection is amazingly fast and accurate. Then started testing on a Lumia 640 with Win 10 Anniversary Edition. It worked for a few days, although the preview does not work. Trying to start the preview says it fails with "not enough resources" in the on error event. Whatever - it is still so quick and accurate that it can be used even without the camera preview.  Point the phone anywhere close read a good code.  Was working on some UI aspects and all of a sudden getting exceptions on the call toe StartSoftwareAsync call. It throws and exception with: "A device attached to the system is not functioning. (Exception from HRESULT: 0x8007001F)".  Have checked everything many times, restarted the phone, uninstalled the app, clean the project, rebuild all - same thing every time.  Maybe a recent phone update?  Any other ideas of things that might cause this error at that point?  Some log or way to get more information about what in particular is unhappy?

推荐答案

Shecky Boy,

Hi Shecky Boy,

欢迎
给开发者通用Windows应用论坛!
 请利用  标记 
发布到此论坛时, anks!

我们现在正试图测试你的问题,可能会延迟一段时间。感谢您的耐心。 

We are trying to test your issue now, it may be some time delay. Appreciate your patience. 

致以最好的问候,

Breeze


这篇关于[UWP] ClaimedBarcodeScanner调用StartSoftwareTriggerAsync突然抛出一个异常的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆