Thanks a lot it's works fine....
Thanks a lot it's works fine....
ok, it works but I think it is not exactly correct.
Your image shows a generic class GUID for all USB devices (##?# USB VID # ...).
Better to use a GUID for a specific class of devices.
Search again to find something like # #? # IMAGE # VID_XXXX&PID_XXXX and uses its GUID.
Maybe I'm wrong, but I think for read / write operations you must use a more specific GUID.
I am new member to this forum. So this information is useful for me. I will try this.
sorry but i don't understand about The "Device Class GUID", please you help me?? for example,
#define HID_CLASSGUID {0x6bdd1fc6, 0x810f, 0x11d0,{ 0x08, 0x00, 0x2b, 0xe2, 0x09, 0x2f }}
so :{ 0x08, 0x00, 0x2b, 0xe2, 0x09, 0x2f }.what is it??
please explain for me,i don't understand about it. what it means?? sorry ,because my english is not good
They are device class GUIDs used in device detection and classification. See the Windows DDK for more information and other GUIDs.
Hi all.
And why different descriptors for reading and writing device?
(You can also open once a one descriptor for reading and writing!)
You can but that will not work across all devices. Some devices for example are read-only, so if you try to open them as read/write the call will fail, but if you have seperate read and write only the write will fail, so you know the device is read-only and don't need to do additional work (such as reopening as read only and setting a read-only flag). Typically however you will know this before writing code but as an example it is impossible to know this in advance.
aah, I understand, thank you.
i can conect with USB, but when i open it ,so my computer is broke dow,, why such that??
Please rephrase. Don't understand.
sorry, because my english is not good..i can connect this project with USB,but when i open this project ,my computer can't run.
please help me!!
caodungviet (28th April 2011), Gamer (12th October 2013)
Bookmarks