I am new member to this forum. So this information is useful for me. I will try this.
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)
sorry but i can't understand how you can search HID_CLASSGUID {0x6bdd1fc6, 0x810f, 0x11d0,{ 0x08, 0x00, 0x2b, 0xe2, 0x09, 0x2f }},.everytime i have searched and i allway search "{a5dcbf10-6530-11d2-901f-00c04fb951ed}" with the another USB.
please help me!! thanks
Please give me the directions by images!!
I don't understand your question. This example is made for HID devices, a5dcbf10-6530-11d2-901f-00c04fb951ed is USB raw device ?
i am trying to develop qt application using USB to control relay board..... I was trying this windows USB Example...
always getting an error message " :: error: No rule to make target `../../qt/2010.05/qt/mkspecs/win32-g++/qmake.conf', needed by `makefile'. Stop." Can anyone please give suggestion how to recover from this error.........Is there any sample application available using USB in windows.....
please reply to my post......can any one help me to overcome this problem.....
Please help me regarding this !!!!!!!!!!!!!... i have entered correct VID & PID for the device but this application is not showing the device connected......
i tried to connect USB relay board which uses Microchip Pic 18 series.... I want to control those relays through USB......
Thanks for great example. With Qt 5 you should use code like:
To header:
bool nativeEvent(const QByteArray & eventType, void * message, long *result);
And to CPP:
bool USBexample::nativeEvent(const QByteArray & eventType, void * message, long *result)
{
MSG* msg = reinterpret_cast<MSG*>(message);
...
}
Hi
How i can get product name of HID device?
Thanks
Bookmarks