Accessing USB port
-
A friend has a USB device that he wants to support under Windows without dealing with the DDK and writing a device driver. The device is a data logger and he wants to talk to it in the same way he would if it were on an RS-232 port or a TCP/IP socket. He has working code for this on MacOSX using Apple's IOKit and on Linux using libusb. Is there an equivalent API for accessing a USB port in this way under Windows?
-
A friend has a USB device that he wants to support under Windows without dealing with the DDK and writing a device driver. The device is a data logger and he wants to talk to it in the same way he would if it were on an RS-232 port or a TCP/IP socket. He has working code for this on MacOSX using Apple's IOKit and on Linux using libusb. Is there an equivalent API for accessing a USB port in this way under Windows?
-
No. I believe a process must communicate to a USB device through its device driver. Kuphryn
That's the sense I've gotten. I have a sense that the Windows model treats the USB bus like the PCI bus with no way to talk directly to devices. Unfortunately, there's no device driver for this unit. My friend is writing an open-source support library for it and it's been trivial to support it under MacOSX and linux without writing a device driver. I guess windows just won't make it.