I have a project to communicate with a usb device using usb bus. The device has its own driver and a communication protokol Guid . In its guid there is this senetence :"After USB driver is installed any program can communicate with the device by using ‘CreateFile’, ‘ReadFile’ and ‘WriteFile’, common Windows system functions." So I followed the instructions and the Creatfile() function works very well. My problem is with Writefile()and ReadFile functions. It shows always this Error 3758100489 : In the guid book there is this note:All messages use Intel style byte ordering where fields larger than one byte are stored in memory so that the least significant part is in lowest address. So i tried to use functions to convert to littel Endien too I tried to use overlapped parameter in Creatfile() and Writefile() but still have the same problem. i tried to use many forms of message packet with help from the guid too
Can anyone help me ? thank you very much
P.s USB path is right 100%