我们可以使用C ++程序通过usb连接和访问pos设备到pc吗? [英] Can we connect and access a pos device to pc via usb using C++ program?

查看:93
本文介绍了我们可以使用C ++程序通过usb连接和访问pos设备到pc吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们已经尝试编写一个连接硬件设备和PC的程序来检索设备信息。但它无法正常工作。

你可以用c ++或java帮助我们?



我尝试了什么:



我们试过编码一个连接硬件设备和PC以检索设备信息的程序。但它无法正常工作。

你可以用c ++或java帮助我们吗?

解决方案

这取决于设备,Jochen指向驱动程序是正确的。联系设备供应商。



当它是USB设备时,文章如何使用WinUSB函数访问USB设备可以提供一些见解。



对于更通用的方法,您应该在 Windows硬件开发示例中搜索一些示例代码。

We have tried to code a program which connect a hardware device and pc to retrieve the device information.But it is not working properly.
can you please help us for this in c++ or in java?

What I have tried:

We have tried to code a program which connect a hardware device and pc to retrieve the device information.But it is not working properly.
can you please help us for this in c++ or in java?

解决方案

This depends on the device and Jochen is correct by pointing to a driver. Contact the vendor of the device.

When it is an USB device the article How to Access a USB Device by Using WinUSB Functions could give some insights.

For a more general approach you should search in the Windows hardware development samples for some example code.


这篇关于我们可以使用C ++程序通过usb连接和访问pos设备到pc吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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