Hello Vishnu,
just go to
http://www.ahidlib.com. You will find sample code for VB, C#, C++, LabVIEW, Matlab and Scilab.
If you use Input Reports, data reception is done automatically by AHID.DLL. The driver will send a Windows Message (AHID_DATA_RECEIVED) to your Windows Message Queue. Alternatively, you can poll AHid_Read() function and check its return value (it should be AHID_OK, if there is new data).
Best regards, Potter[/QUOTE
Hello potter ,
Thanks for giving me reply,i have downloaded vc++ sample code.i tried run application, its not detecting usb devices.i gave valid VID & PID of usb device.Is it possible to use that application to communicate with any USB device like mouse,pendrive,embedded board,CPLD boards...
Best regards
vishnu