如何以编程方式释放占用的USB端口...? [英] How to release the occupied USB ports programatically...?

查看:352
本文介绍了如何以编程方式释放占用的USB端口...?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

朋友们,
我正在使用一台OCR机器,并将其实施到我的项目中.
第一次执行时工作正常.它正确读取所有数据.但是,当我第二次尝试时,它不起作用..

有什么问题..?
在sdk中,有stopRead()和Terminate().
甚至在完成阅读时我都调用了这两个函数.


预先谢谢您.

Hi friends,
I m working on one OCR Machine, i implemented it into my project.
Its working fine at first execution. Its read all the data correctly. But, when I tried it 2nd time, it is not working..

What will the problem..?
In sdk, there were stopRead() & Terminate().
Even I called both the functions as I finish the reading.


Thank you in advance.

推荐答案

从codeproject中检查此链接

使用C#弹出USB磁盘 [在C#程序中检测USB驱动器的移除 [ ^ ]

http://www.developerfusion.com/article/84338/making-usb-c-friendly / [ ^ ]

希望他们能为您提供帮助
Check this links from codeproject

Eject USB disks using C#[^]

Detecting USB Drive Removal in a C# Program[^]

http://www.developerfusion.com/article/84338/making-usb-c-friendly/[^]

Hope they will help you


说它不起作用还不够.您还需要发布错误消息.此外,您还需要提供有关正在使用的OCR机器和SDK的其他详细信息.无论如何,即使您已发布它,也不保证您的问题会立即得到回答,因为可能没有多少人知道该SDK.如果您拥有SDK开发人员的网站,建议您也通过他们的支持页面以及问题的详细信息与他们联系.
Saying it is not working is not enough. You need to post the error messages as well. In addition, you also need to provide other details of what OCR machine and SDK you are working on. Anyway, even if you have posted it, its not a guarantee that your question will be answered right away because not many people may know about that SDK. If you have a website of the developers of the SDK, I suggest you contact them as well through their support page together with the details of your issue.


这篇关于如何以编程方式释放占用的USB端口...?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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